From 9d92611971b3e36e95c7e710d566560d4c949086 Mon Sep 17 00:00:00 2001 From: iambasantarai Date: Sat, 25 Jan 2025 22:40:16 +0545 Subject: [PATCH] feat(general): add support for Ctrl + Backspace to delete a word --- lua/lazyvim/config/keymaps.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 48726b02..7dbc1efc 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -16,6 +16,10 @@ map("n", "", "j", { desc = "Go to Lower Window", remap = true }) map("n", "", "k", { desc = "Go to Upper Window", remap = true }) map("n", "", "l", { desc = "Go to Right Window", remap = true }) +-- Delete an entire word in insert mode with backspace +map("i", "", "", { desc = "Delete entire word in insert mode" }) +map("i", "", "", { desc = "Delete entire word in insert mode" }) + -- Resize window using arrow keys map("n", "", "resize +2", { desc = "Increase Window Height" }) map("n", "", "resize -2", { desc = "Decrease Window Height" })