diff options
author | Botond Hende <nettingman@gmail.com> | 2024-06-30 12:20:39 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-06-30 12:20:39 +0200 |
commit | 5045444d1e214afc0fb3598236849e2676911d53 (patch) | |
tree | 64af68897256a430fd30996797ab4e6228f33303 | |
parent | 35f3edae1e3b0ac93ad9e3cce0697a5b5b09136f (diff) |
added terminal mode exit with <Esc> to nvim conf
-rw-r--r-- | home/.config/nvim/init.lua | 1 |
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 }) |