feat(nvim): add keymap to delete word back in insert mode
This commit is contained in:
parent
b6ad3f529e
commit
d250e713b8
@ -126,6 +126,9 @@ M.setup = function()
|
|||||||
|
|
||||||
-- Bring up messages via keybind
|
-- Bring up messages via keybind
|
||||||
vim.keymap.set("n", ";m", "<cmd>message<CR>", { silent = true, noremap = true, desc = "View Messages" })
|
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
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user