Based on *; without using "\<" and "\>"
g*
Example
Normal 0 / 1Normal 1 / 1red blue red green redCursor on line 1, column 1red blue red green redCursor on line 1, column 10Based on *; without using "\<" and "\>".
Command applied
Before & after
red blue red green redCursor on line 1, column 1red blue red green redCursor on line 1, column 10Start in Normal mode. The previous search pattern is red; searches wrap at the buffer ends.
Details & Vim help
Example replayed in Vim
Based on *; without using "\<" and "\>". Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.