map jk escape from terminal buffer
This commit is contained in:
parent
cb3f7538e8
commit
18f3b8b93e
@ -141,7 +141,7 @@ map("n", "<TAB>", [[<Cmd>BufferLineCycleNext<CR>]], opt)
|
|||||||
map("n", "<S-TAB>", [[<Cmd>BufferLineCyclePrev<CR>]], opt)
|
map("n", "<S-TAB>", [[<Cmd>BufferLineCyclePrev<CR>]], opt)
|
||||||
|
|
||||||
-- use ESC to turn off search highlighting
|
-- use ESC to turn off search highlighting
|
||||||
map("n", "<Esc>", ":noh<CR>", opts)
|
map("n", "<Esc>", ":noh<CR>", opt)
|
||||||
|
|
||||||
-- get out of terminal with ESC
|
-- get out of terminal with jk
|
||||||
map("t", "<Esc>", "<C-\\><C-n>", opts)
|
map("t", "jk", "<C-\\><C-n>", opt)
|
||||||
|
Loading…
Reference in New Issue
Block a user