summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-06-30 12:20:39 +0200
committerBotond Hende <nettingman@gmail.com>2024-06-30 12:20:39 +0200
commit5045444d1e214afc0fb3598236849e2676911d53 (patch)
tree64af68897256a430fd30996797ab4e6228f33303 /home
parent35f3edae1e3b0ac93ad9e3cce0697a5b5b09136f (diff)
added terminal mode exit with <Esc> to nvim conf
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.config/nvim/init.lua b/home/.config/nvim/init.lua
index 187057f..f348032 100644
--- a/home/.config/nvim/init.lua
+++ b/home/.config/nvim/init.lua
@@ -16,3 +16,4 @@ vim.cmd("colorscheme vim")
vim.keymap.set('', '<M-Up>', ':move-2<CR>', { silent = true })
vim.keymap.set('', '<M-Down>', ':move+1<CR>', { silent = true })
+vim.keymap.set('t', '<Esc>', '<C-\\><C-n>', { silent = true })