From 0257190209b193c5d4c4d5ee7cc970120afed06f Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sat, 4 Dec 2021 00:43:05 +0100 Subject: [PATCH] Support save mapping from insert mode --- home/.config/nvim/lua/mappings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/nvim/lua/mappings.lua b/home/.config/nvim/lua/mappings.lua index d35b58b..0a4d1c3 100644 --- a/home/.config/nvim/lua/mappings.lua +++ b/home/.config/nvim/lua/mappings.lua @@ -62,6 +62,7 @@ nmap("", ":resize -3") -- Define some common shortcuts nmap("", ":w") +imap("", ":wi") nmap("", ":undo") nmap("", ":redo")