diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-06 22:46:35 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-06 22:46:35 +0200 |
commit | 44d511549718d6e4ec7d22975240b2ab87e1601a (patch) | |
tree | a4088a907ef350b902842a19250c91f60adc9a4c /.config/nvim/lua/mappings.lua | |
parent | 872fe99c314fa7ad5084673a38f8e09d4291d8a0 (diff) |
nvim: easy mapping to escape terminal mode
Diffstat (limited to '.config/nvim/lua/mappings.lua')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index 74f33b8..7859795 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -8,7 +8,8 @@ map('n', '<C-L>', ':nohl<CR><C-L>', opts) map('n', 'n', 'nzzzv', opts) map('n', 'N', 'Nzzzv', opts) -- map('i', 'kj', '<Esc>', opts) -map('t', 'kj', '<C-\\><C-n>', { noremap = true }) +-- map('t', 'kj', '<C-\\><C-n>', { noremap = true }) +map('t', '<C-\\>', '<C-\\><C-n>', { noremap = true }) map('i', ',', ',<c-g>u', opts) map('i', '.', '.<c-g>u', opts) |