Search the cursor word backward
#
Example
Normal 0 / 1Normal 1 / 1red blue red green redCursor on line 1, column 19red blue red green redCursor on line 1, column 10Find an earlier occurrence of the current keyword.
Find an earlier occurrence of the current keyword
Before & after
red blue red green redCursor on line 1, column 19red blue red green redCursor on line 1, column 10Start in Normal mode.
Details & Vim help
Example replayed in Vim
Find an earlier occurrence of the current keyword.
# creates a whole-keyword search from the word under or near the cursor and searches backward. It also sets the search direction used by n and N.