From 877dcf76cb71c84f6bd665aa8b0f3d5f7f89ddff Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sat, 20 Nov 2021 13:10:51 -0700 Subject: Add command for saving quickly --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index e7ee22f..811b45b 100644 --- a/init.lua +++ b/init.lua @@ -123,6 +123,7 @@ vim.api.nvim_set_keymap('n', 't', "tabnew", { noremap = true }) vim.api.nvim_set_keymap('n', '', 'fT', { noremap = true }) vim.api.nvim_set_keymap('n', '', 'vT', { noremap = true }) vim.api.nvim_set_keymap('n', '', 'vT', { noremap = true }) +vim.api.nvim_set_keymap('n', '', 'w', { noremap = true }) vim.api.nvim_set_keymap('n', 'ee', 'e!', { noremap = true }) vim.api.nvim_set_keymap('n', ' k', [[(v:count > 1 ? "m'" . v:count : '') . 'k']], { noremap = true }) vim.api.nvim_set_keymap('n', ' j', [[(v:count > 1 ? "m'" . v:count : '') . 'j']], { noremap = true }) -- cgit v1.2.3