From d250e713b88384958a603ecaa94d58db0f6f09a3 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 13 Jun 2024 13:09:41 -0500 Subject: [PATCH] feat(nvim): add keymap to delete word back in insert mode --- users/price/dots/.config/nvim/lua/core/mappings.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/price/dots/.config/nvim/lua/core/mappings.lua b/users/price/dots/.config/nvim/lua/core/mappings.lua index e11fb7ed..c1258f00 100755 --- a/users/price/dots/.config/nvim/lua/core/mappings.lua +++ b/users/price/dots/.config/nvim/lua/core/mappings.lua @@ -126,6 +126,9 @@ M.setup = function() -- Bring up messages via keybind vim.keymap.set("n", ";m", "message", { silent = true, noremap = true, desc = "View Messages" }) + + -- Delete whole world back in insert & cmd mode + vim.keymap.set({ "i", "c" }, "", "") end return M