mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:20:31 +01:00
nvim: change term escape keybind
This commit is contained in:
parent
f13d05de90
commit
e628300627
|
@ -9,7 +9,7 @@ vim.keymap.set("n", "<C-K>", "<c-w>k")
|
|||
vim.keymap.set("n", "<C-J>", "<c-w>j")
|
||||
|
||||
-- Escape for exiting terminal mode
|
||||
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
|
||||
vim.keymap.set('t', '<C-Esc>', '<C-\\><C-n>')
|
||||
|
||||
-- move selection linewise
|
||||
vim.keymap.set('v', 'J', ":m '>+1<CR>gv=gv")
|
||||
|
|
Loading…
Reference in a new issue