Ollero (ollero.nvim
) is a Neovim Plugin that unleashes Ollama powers to your
text editor.
🚀 Features
- interact with offline LLM using Ollama - https://ollama.com/
- manage Ollama models in Neovim
- Chat with the default model using
<M-a>
- selected to prompt using
<M-s>
- list online and offline models
- build and run custom ollama modelfile
- generate
Modelfile
based on prompt input _(using marco-souza/omg)
https://www.loom.com/share/a61362b16dc94c4b82426a03f0797099
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,
},
Install it with your plugin manager, then add a keymap to the following command:
## Commands
# managing ollama models
:InstallModel
:RemoveModel
:ListModels
:RunModel
# interact with models
:Chat
:Ask
# custom model files
:CreateModel
:BuildModel