feat: add key mappings to close sidebar in input_container (#1494)
* add key mappings to close sidebar in input_container * add autocmd to enter normal mode on leaving input_container * add autocmd to enter insert mode on entering input_container
This commit is contained in:
@@ -383,6 +383,10 @@ M._defaults = {
|
||||
remove_file = "d",
|
||||
add_file = "@",
|
||||
close = { "<Esc>", "q" },
|
||||
close_from_input = {
|
||||
normal = "<Esc>",
|
||||
insert = "<C-d>",
|
||||
},
|
||||
},
|
||||
files = {
|
||||
add_current = "<leader>ac", -- Add current buffer to selected files
|
||||
|
||||
Reference in New Issue
Block a user