style: desc for gw

This commit is contained in:
Folke Lemaitre 2023-02-28 09:59:01 +01:00
parent 8a9265efed
commit 70966bbc19
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -64,7 +64,7 @@ map(
{ desc = "Redraw / clear hlsearch / diff update" }
)
map({ "n", "x" }, "gw", "*N", { desc = "Highlight under cursor" })
map({ "n", "x" }, "gw", "*N", { desc = "Search word 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" })