Skip to content
← Tools / Skills
ToolDavid Kunz/10 trustMetrics-checked
gen.nvim logo

gen.nvim

Generate and refactor text in Neovim using local LLMs.

Visit official site →

About

gen.nvim is a Neovim plugin by David Kunz that generates text using large language models with customizable prompts. It connects to a local Ollama instance, letting developers send selections to models like Llama or Mistral for explanation, refactoring, fixing, and other prompt-driven tasks without leaving the editor.

Prompts are fully customizable, results stream into floating or split windows, and accepted output can replace the original selection. Because it targets local models, code never leaves the machine. It requires Ollama with an appropriate model and curl, and installs through any Neovim plugin manager such as lazy.nvim.

What it can do

  • Customizable LLM prompts on selections
  • Local Ollama-backed generation
  • Streaming output with accept-to-replace
  • Floating, split, or horizontal layouts

Setup

Install Ollama with a model, then add David-Kunz/gen.nvim via your Neovim plugin manager.

Prerequisites

Neovim, Ollama with a local model, and curl.

Use cases

neovimlocal-llmcode-editing

Works with

Trust score — 7/10

/10 trustMetrics-checked

Scored 7/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 110; Trending score 70/100 from researcher assessment.

Sources

Every fact above was checked against these sources. Where a claim comes from the provider and couldn't be independently verified, the text says so.