: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
AvanteShowRepoMap
Display the repository map showing project structure. Usage:AvanteModels
Open the model selector to view and switch between available models. Usage:AvanteHistory
Open the history selector to browse and restore previous chat sessions. Usage:AvanteStop
Stop the current AI request/generation. Usage:Summary Table
| Command | Description | Range Support |
|---|---|---|
AvanteAsk | Ask AI about code | No |
AvanteChat | Start chat session | No |
AvanteChatNew | Create new chat | No |
AvanteToggle | Toggle sidebar | No |
AvanteBuild | Build dependencies | No |
AvanteEdit | Edit selected code | Yes |
AvanteRefresh | Refresh windows | No |
AvanteFocus | Switch focus | No |
AvanteSwitchProvider | Switch AI provider | No |
AvanteSwitchSelectorProvider | Switch selector | No |
AvanteSwitchInputProvider | Switch input UI | No |
AvanteClear | Clear history/cache | No |
AvanteShowRepoMap | Show repo structure | No |
AvanteModels | Show model selector | No |
AvanteHistory | Browse chat history | No |
AvanteStop | Stop AI request | No |