feat(nvim): add keymap to delete word back in insert mode

This commit is contained in:
Price Hiller 2024-06-13 13:09:41 -05:00
parent b6ad3f529e
commit d250e713b8
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -126,6 +126,9 @@ M.setup = function()
-- Bring up messages via keybind
vim.keymap.set("n", ";m", "<cmd>message<CR>", { silent = true, noremap = true, desc = "View Messages" })
-- Delete whole world back in insert & cmd mode
vim.keymap.set({ "i", "c" }, "<C-BS>", "<C-W>")
end
return M