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:
@@ -383,6 +383,10 @@ M._defaults = {
|
||||
normal = "<CR>",
|
||||
insert = "<C-s>",
|
||||
},
|
||||
cancel = {
|
||||
normal = { "<C-c>", "<Esc>", "q" },
|
||||
insert = { "<C-c>" },
|
||||
},
|
||||
-- NOTE: The following will be safely set by avante.nvim
|
||||
ask = "<leader>aa",
|
||||
edit = "<leader>ae",
|
||||
|
||||
Reference in New Issue
Block a user