diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 11c76ce9..2026ed3b 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -64,8 +64,7 @@ map( { desc = "Redraw / clear hlsearch / diff update" } ) -map("n", "gw", "*N") -map("x", "gw", "*N") +map({ "n", "x" }, "gw", "*N", { desc = "Highlight under cursor" }) -- https://github.com/mhinz/vim-galore#saner-behavior-of-n-and-n map("n", "n", "'Nn'[v:searchforward]", { expr = true, desc = "Next search result" })