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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

The backlog of this project includes features like:

  • interact with offline LLM through Ollama API
  • manage LLMs in Neovim
  • (new 🚀) generate Modelfile based on prompt input (using marco-souza/omg)
  • selected to prompt (Implemented by David-Kunz/gen.nvim)
  • manage AI Prompts (Implemented by David-Kunz/gen.nvim)
  • text completion (WIP 🚧)

Demo

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

Dependencies

Ollero will 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
:InstallModel
:RemoveModel
:ListModels
:RunModel

# interact with models
:Chat

# custom model files
:CreateModel
:BuildModel