fix: remove sidebar.close_from_input default keybinding (#1536)
* Remove <c-d> from default insert mode keybinding * Check `close_from_input ~= nil` before keymap * Default `close_from_input` to `nil` * Update README.md keybinding defaults * Try to pass type check
This commit is contained in:
@@ -349,8 +349,14 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
|
||||
sidebar = {
|
||||
apply_all = "A",
|
||||
apply_cursor = "a",
|
||||
retry_user_request = "r",
|
||||
edit_user_request = "e",
|
||||
switch_windows = "<Tab>",
|
||||
reverse_switch_windows = "<S-Tab>",
|
||||
remove_file = "d",
|
||||
add_file = "@",
|
||||
close = { "<Esc>", "q" },
|
||||
close_from_input = nil, -- e.g., { normal = "<Esc>", insert = "<C-d>" }
|
||||
},
|
||||
},
|
||||
hints = { enabled = true },
|
||||
|
||||
Reference in New Issue
Block a user