diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 4b00adbb..15dafb8a 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -37,7 +37,7 @@ vim.keymap.set("n", "[p", ":pu!", { desc = "Paste below" }) vim.keymap.set("n", "]p", ":pu", { desc = "Paste above" }) -- Clear search with -vim.keymap.set({ "i", "n" }, "", "noh") +vim.keymap.set({ "i", "n" }, "", "noh", { desc = "Escape and clear hlsearch" }) vim.keymap.set("n", "gw", "*N") vim.keymap.set("x", "gw", "*N") @@ -55,7 +55,7 @@ vim.keymap.set("i", ".", ".u") vim.keymap.set("i", ";", ";u") -- save in insert mode -vim.keymap.set({ "i", "v", "n", "s" }, "", "w") +vim.keymap.set({ "i", "v", "n", "s" }, "", "w", { desc = "Save file" }) -- better indenting vim.keymap.set("v", "<", "