mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
map jk escape from terminal buffer
This commit is contained in:
parent
cb3f7538e8
commit
18f3b8b93e
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue