Skip to content

Ollero is a nvim plugin for integrating Ollama with neovim locally

Notifications You must be signed in to change notification settings

marco-souza/ollero.nvim

Repository files navigation

👁️llero 🦙

Latest release Last commit Latest Neovim Made with Lua

Ollero (ollero.nvim) is a Neovim Plugin that unleashes Ollama powers to your text editor.

🚀 Features

Demo

https://www.loom.com/share/a61362b16dc94c4b82426a03f0797099

Dependencies

Ollero run ollama, so you must have ollama installed and running on your machine.

Also, this plugin relies on some other libraries that should be listed as dependencies

-- Lazy plugin
{
  "marco-souza/ollero.nvim",
  build = ":!go install github.com/marco-souza/omg@latest",
  dependencies = {
    "nvim-lua/plenary.nvim",
    "marco-souza/term.nvim",
    "nvim-telescope/telescope-ui-select.nvim",
  },
  config = true,
},

Usage

Install it with your plugin manager, then add a keymap to the following command:

## Commands

# managing ollama models
:OlleroInstall
:OlleroRemove
:OlleroList
:OlleroRun

# interact with models
:OlleroChat
:OlleroAsk

# custom model files
:OlleroCreate
:OlleroBuild