Auto-Focus Settings
boolean
default:"true"
Automatically focus the sidebar when opening Avante
boolean
default:"false"
Automatically focus the diff view when changes are applied
Auto-Suggestions
boolean
default:"false"
Enable automatic code suggestions (experimental)
boolean
default:"false"
Respect gitignore patterns when generating auto-suggestions
number
default:"600"
Debounce time in milliseconds before triggering auto-suggestions
number
default:"600"
Throttle time in milliseconds for auto-suggestions
Keymap Settings
boolean
default:"true"
Automatically set keymaps for Avante actions. Only sets keymaps that aren’t already bound.
Diff Handling
boolean
default:"false"
Automatically apply diff after LLM response (similar to Cursor’s behavior)
boolean
default:"true"
Remove unchanged lines when applying code blocks to reduce clutter
boolean
default:"false"
Automatically jump to the result buffer after generation completes
Diff Configuration
boolean
default:"true"
Automatically jump to diff conflicts
number
default:"500"
Override
timeoutlen while hovering over diff to avoid operator-pending mode. Set to -1 to disable.Highlight Groups
boolean
default:"true"
Automatically set highlight groups for Avante windows
Clipboard Support
boolean
default:"false"
Enable pasting images from clipboard (requires
img-clip.nvim)This is automatically enabled if
img-clip.nvim is installed.Token Counting
boolean
default:"true"
Enable token counting for requests and responses
File Management
boolean
default:"true"
Automatically add the current file when opening a new chat
boolean
default:"false"
Use current working directory as project root instead of detecting via LSP
boolean
default:"false"
Allow AI to access files that are in
.gitignoreTool Permissions
boolean | string[]
default:"true"
Control tool permission prompts:
true- Auto-approve all tools (no prompts)false- Show permission prompts for all toolsstring[]- Auto-approve specific tools only
Diagnostics
boolean
default:"true"
Automatically check and include diagnostics in AI context
Fast Apply
boolean
default:"false"
Enable Fast Apply feature for instant code edits using specialized models
Git Integration
boolean
default:"false"
Add a “Generated-by: provider/model” line to git commit messages
Confirmation UI Style
'popup' | 'inline_buttons'
default:"inline_buttons"
Style of confirmation UI:
popup- Original floating window with yes/all/no buttonsinline_buttons- Inline buttons in the sidebar
ACP Agent Settings
boolean
default:"true"
Automatically open files and navigate to lines when ACP agent makes edits
Selection Settings
boolean
default:"true"
Enable selection mode for asking questions about selected code
'delayed' | 'immediate' | 'none'
default:"delayed"
When to show keymap hints for selection mode
History Settings
number
default:"4096"
Maximum tokens to keep in chat history
number | nil
default:"nil"
Number of history entries to carry over to new chats
string
Path where chat history is stored
Prompt Logger
boolean
default:"true"
Enable logging prompts to disk for debugging/replay
string
Directory where prompt logs are saved
number
default:"100"
Maximum number of prompt log entries to keep