mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +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