:Avante.
Core Commands
AvanteAsk
Ask AI about your code and receive intelligent suggestions. Usage:question(optional) - The question to ask the AIposition(optional) - Window position:left,right,top,bottomproject_root(optional) - Override project root path
position=left|right|top|bottomproject_root=<available_project_roots>
AvanteChat
Start a chat session with AI about your codebase. Similar toAvanteAsk but with ask=false by default.
Usage:
- Same parameters as
AvanteAsk - Defaults to chat mode (
ask=false)
AvanteChatNew
Create a new chat session. The current chat can be re-opened with the chat session selector. Usage:AvanteToggle
Toggle the Avante AI panel visibility. Usage:AvanteBuild
Build dependencies for Avante.nvim. Usage:source(optional) - Build from source (default:false)
source=truesource=false
AvanteEdit
Edit the selected code block with AI assistance. Usage:range- Visual selection range (line1-line2)instruction(optional) - Editing instruction for the AI
AvanteRefresh
Refresh all Avante windows to sync with the current buffer. Usage:AvanteFocus
Switch focus between the sidebar and code window. Usage:AvanteSwitchProvider
Switch the AI provider (e.g., Claude, OpenAI, Gemini). Usage:AvanteSwitchSelectorProvider
Switch the selector provider (e.g., telescope, fzf_lua, mini_pick, snacks). Usage:provider(required) - Name of the selector provider
AvanteSwitchInputProvider
Switch the input provider for user prompts. Usage:provider(required) -native,dressing, orsnacks
nativedressingsnacks
AvanteClear
Clear chat history or cache. Usage:history(default) - Clear current chat historycache- Clear all cached data (requires confirmation)
historycache