feat(nvim) add a mapping to exit terminal with Esc

This commit is contained in:
Bruno Carlin 2022-03-30 10:39:15 +02:00
parent 67c4d1d4b4
commit 9af3456008

View file

@ -21,3 +21,5 @@ map('n','<space>lp', ':lprevious<CR>', opts)
map('n','<space>lo', ':lopen<CR>', opts)
map('n','<space>lc', ':lclose<CR>', opts)
-- Easier to exit terminal insert mode with Esc
map('t', '<Esc>', '<C-\\><C-n>', opts)