Support save mapping from insert mode

This commit is contained in:
ItsDrike 2021-12-04 00:43:05 +01:00
parent 1682cfd4ea
commit 0257190209
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -62,6 +62,7 @@ nmap("<C-Down>", ":resize -3<CR>")
-- Define some common shortcuts -- Define some common shortcuts
nmap("<C-s>", ":w<CR>") nmap("<C-s>", ":w<CR>")
imap("<C-s>", "<Esc>:w<CR>i")
nmap("<C-z>", ":undo<CR>") nmap("<C-z>", ":undo<CR>")
nmap("<C-y>", ":redo<CR>") nmap("<C-y>", ":redo<CR>")