fix: escape from terminal easier
This commit is contained in:
parent
15293d7f6d
commit
b5f23572d9
@ -5,6 +5,9 @@ local silent = {silent = true}
|
|||||||
-- Disable Ex mode
|
-- Disable Ex mode
|
||||||
map('n', 'Q', '<nop>')
|
map('n', 'Q', '<nop>')
|
||||||
|
|
||||||
|
-- Escape from terminal easier
|
||||||
|
map('t', '<Esc>', '<C-\\><C-n>')
|
||||||
|
|
||||||
-- Save file
|
-- Save file
|
||||||
map('n', '<C-s>', ':w<cr>')
|
map('n', '<C-s>', ':w<cr>')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user