nvim: change term escape keybind

This commit is contained in:
xqtc 2024-10-21 17:00:20 +02:00
parent f13d05de90
commit e628300627
Signed by: xqtc
GPG key ID: 2C064D095926D9D1

View file

@ -9,7 +9,7 @@ vim.keymap.set("n", "<C-K>", "<c-w>k")
vim.keymap.set("n", "<C-J>", "<c-w>j") vim.keymap.set("n", "<C-J>", "<c-w>j")
-- Escape for exiting terminal mode -- 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 -- move selection linewise
vim.keymap.set('v', 'J', ":m '>+1<CR>gv=gv") vim.keymap.set('v', 'J', ":m '>+1<CR>gv=gv")