mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-17 16:01:50 +02:00
style: add description for "gw" keymap (#327)
This commit is contained in:
parent
2b8b27b4a9
commit
8a9265efed
1 changed files with 1 additions and 2 deletions
|
@ -64,8 +64,7 @@ map(
|
||||||
{ desc = "Redraw / clear hlsearch / diff update" }
|
{ desc = "Redraw / clear hlsearch / diff update" }
|
||||||
)
|
)
|
||||||
|
|
||||||
map("n", "gw", "*N")
|
map({ "n", "x" }, "gw", "*N", { desc = "Highlight under cursor" })
|
||||||
map("x", "gw", "*N")
|
|
||||||
|
|
||||||
-- https://github.com/mhinz/vim-galore#saner-behavior-of-n-and-n
|
-- https://github.com/mhinz/vim-galore#saner-behavior-of-n-and-n
|
||||||
map("n", "n", "'Nn'[v:searchforward]", { expr = true, desc = "Next search result" })
|
map("n", "n", "'Nn'[v:searchforward]", { expr = true, desc = "Next search result" })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue