feat(nvim) add a mapping to exit terminal with Esc
This commit is contained in:
parent
67c4d1d4b4
commit
9af3456008
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue