explaingit

yetone/avante.nvim

17,888LuaAudience · developerComplexity · 3/5Setup · moderate

TLDR

A Neovim plugin that adds a side-panel AI assistant so you can chat about your code, get suggested edits, and apply them in one keystroke, giving Cursor-style AI editing to people who live in Neovim.

Mindmap

mindmap
  root((repo))
    Core features
      Side panel chat
      One-key apply
      Per-project instructions
    Zen Mode
      CLI-style launch
      Full Neovim inside
      Short alias workflow
    Customisation
      avante.md file
      Multiple AI providers
      ACP agent support
    Requirements
      Neovim 0.10 plus
      Lua and Rust
      Active development
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Ask the AI to refactor a function in the file you are editing and apply the suggestion in one keystroke, without switching to a different editor.

USE CASE 2

Create a per-project avante.md file that tells the AI your tech stack and coding conventions so every suggestion fits your project automatically.

USE CASE 3

Use Zen Mode to open Neovim straight into the AI chat interface as a lightweight coding-agent terminal from a short shell alias.

Tech stack

LuaRustNeovim

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Neovim 0.10 or newer, some Rust components must compile on first install.

In plain English

avante.nvim is a plugin for Neovim, a modernised version of the classic Vim text editor, that turns the editor into something that behaves like Cursor, a popular AI-powered code editor. You install it once and your Neovim gains a side panel where you can chat with an AI about the file you are editing, ask it to suggest changes, and apply those changes back to your source code in one keystroke. The headline features are AI-driven code assistance scoped to the file you currently have open, one-click application of the AI's suggested edits, and per-project instruction files. The instruction file, called avante.md by default, sits in the project root and lets you tell the AI what role to play, which technologies your project uses, and which coding conventions to follow, the plugin loads it automatically during workspace changes. There is also a so-called Zen Mode that launches Neovim straight into avante's interface so that running a single command, aliased to something short like avante, feels like opening a coding-agent CLI while still being a full Neovim underneath, with your normal Vim keybindings and plugins available. Through ACP support it can also drive external coding-agent CLIs. You would install avante.nvim if you already live inside Neovim and want the same kind of AI editing experience that Cursor users get, without leaving your editor or learning a new one. It is mostly written in Lua, with some Rust components, and requires Neovim 0.10 or newer. The README notes that the project is iterating quickly with more features planned. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
I just installed avante.nvim. Help me write an avante.md file for a FastAPI project that tells the AI our tech stack, coding style, and testing conventions.
Prompt 2
I'm looking at a 200-line Python function in Neovim with avante.nvim open. Ask the AI to split it into smaller functions and show me how to review and apply the diff.
Prompt 3
Set up avante.nvim Zen Mode so I can open it from a short alias and use it as a daily coding assistant from the terminal.
Prompt 4
Which AI providers does avante.nvim support and how do I switch between them per project without changing my global config?
Open on GitHub → Explain another repo

← yetone on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.