Nvim : Enable <C-s> save in input mode.

This commit is contained in:
Dmitry Voronin 2024-09-24 02:05:19 +03:00
parent cf0696934e
commit f9b1944e77
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -30,6 +30,7 @@
-- Save everything. -- Save everything.
rekey_normal("<C-s>", "<cmd>wa!<cr>") rekey_normal("<C-s>", "<cmd>wa!<cr>")
rekey_input("<C-s>", "<cmd>wa!<cr>")
-- Save all we can and leave. -- Save all we can and leave.
rekey_normal("<Leader>z", "<cmd>lua bye()<cr>") rekey_normal("<Leader>z", "<cmd>lua bye()<cr>")