Add new keymaps for terminal mode
This commit is contained in:
parent
0bec36b390
commit
ab1ae15845
1 changed files with 11 additions and 0 deletions
|
|
@ -109,4 +109,15 @@ require("utils").add_keymaps({
|
|||
},
|
||||
},
|
||||
},
|
||||
t = {
|
||||
["<C-x>"] = {
|
||||
cmd = "<C-\\><C-N>",
|
||||
},
|
||||
["<Esc>"] = {
|
||||
cmd = function()
|
||||
local win = vim.api.nvim_get_current_win()
|
||||
vim.api.nvim_win_close(win, true)
|
||||
end,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue