improve: support to customize the keymaps for cancelling the editing (#1730)

* improve: support to customize the keymaps for cancelling the editing

* docs: update README
This commit is contained in:
guanghechen
2025-03-26 21:58:03 +08:00
committed by GitHub
parent 2d4ea5d5d6
commit 0b4a493d60
3 changed files with 14 additions and 2 deletions

View File

@@ -366,6 +366,10 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
normal = "<CR>",
insert = "<C-s>",
},
cancel = {
normal = { "<C-c>", "<Esc>", "q" },
insert = { "<C-c>" },
},
sidebar = {
apply_all = "A",
apply_cursor = "a",