mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 12:44:35 +00:00
Support save mapping from insert mode
This commit is contained in:
parent
1682cfd4ea
commit
0257190209
|
@ -62,6 +62,7 @@ nmap("<C-Down>", ":resize -3<CR>")
|
|||
|
||||
-- Define some common shortcuts
|
||||
nmap("<C-s>", ":w<CR>")
|
||||
imap("<C-s>", "<Esc>:w<CR>i")
|
||||
nmap("<C-z>", ":undo<CR>")
|
||||
nmap("<C-y>", ":redo<CR>")
|
||||
|
||||
|
|
Loading…
Reference in a new issue