What is Zen Mode?
Zen Mode transforms Avante.nvim into a terminal-based coding agent CLI that looks and feels like tools like Claude Code or Gemini CLI, but runs entirely within Neovim. This gives you the best of both worlds:- CLI-like experience for quick AI interactions
- Full Neovim power underneath for editing and navigation
- Vim muscle memory works perfectly
- Rich plugin ecosystem available
- No context switching between tools
Why Zen Mode?
Modern coding agent CLIs have popularized the “Vibe Coding” workflow, but they have fundamental limitations:Terminal UX Problem
CLI tools struggle with editing multi-line prompts and code. They can’t match 50+ years of terminal editor innovation.
Context Switching
Agent CLIs often need to jump to external editors to view or modify code, breaking your flow.
Limited Extensibility
No access to Neovim’s thousands of mature plugins for navigation, editing, and productivity.
Vim Abstractions
Can’t leverage Vim’s elegant action + text object model for efficient editing.
Quick Setup
Create an alias to launch Zen Mode:~/.bashrc, ~/.zshrc, etc.), then reload your shell:
Using Zen Mode
Once in Zen Mode, you have a focused AI coding interface:Starting a Conversation
1
Launch Zen Mode
2
Type your request
Use the input area to describe what you want:Press
<CR> (Enter) in normal mode or <C-s> in insert mode to submit.3
Review and interact
The AI responds with code suggestions. You can:
- Apply changes with
a(cursor) orA(all) - Edit your request with
e - Retry with
r - Navigate with standard Vim movements
4
Edit code with Vim
Switch to the code buffer (
<Tab>) and use all your Vim skills:Key Features in Zen Mode
Full Vim Editing Power
Full Vim Editing Power
Unlike traditional agent CLIs, you can:
- Use Vim motions (
hjkl,w,b,f,t, etc.) - Leverage text objects (
ciw,dap,vi{, etc.) - Run Vim commands (
:s/old/new/g,:%s/foo/bar/g) - Access all your Vim plugins (telescope, treesitter, etc.)
Agent Client Protocol (ACP) Support
Agent Client Protocol (ACP) Support
Zen Mode supports all ACP features:
- File operations
- Tool execution
- Multi-step workflows
- Context gathering
Project Context
Project Context
Zen Mode vs Traditional Usage
- Zen Mode
- Regular Mode
Optimized for terminal workflows
- Launch from command line:
avante - Sidebar-first interface
- Quick AI interactions without opening files
- CLI-like UX with Vim power underneath
- Starting new projects
- Quick prototyping
- Exploratory coding
- Terminal-centric workflows
Advanced Configuration
Customize Zen Mode behavior:Custom Zen Mode Alias
You can create variations for different workflows:Keyboard Shortcuts in Zen Mode
All standard Avante keybindings work, plus you have full Vim at your fingertips:Tips for Effective Zen Mode Usage
Example Workflow
Here’s a complete Zen Mode workflow for building a new feature:1
Launch Zen Mode
2
Describe the feature
3
Review generated code
The AI generates the authentication module. Use Vim navigation:
4
Apply and test
5
Iterate on feedback
Comparison with Other Agent CLIs
Next Steps
Quick Start
Get started with Avante in 5 minutes
Project Instructions
Customize AI behavior for your project
ACP Support
Use external AI agents in Zen Mode
Keybindings
Complete keybinding reference