Select the current or next match
gn
Example
Normal 0 / 1Visual 1 / 1red blue red green redCursor on line 1, column 1red blue red green redCursor on line 1, column 3 · Character selectionSelect a match of the last search pattern, searching forward.
Selection active · ready to adjust or apply
Before & after
red blue red green redCursor on line 1, column 1red blue red green redCursor on line 1, column 3 · Character selectionStart in Normal mode. The previous search pattern is red. Vim selects the matching text in the requested direction.
Details & Vim help
Example replayed in Vim
Select a match of the last search pattern, searching forward.
In Normal mode, gn selects the match under the cursor or searches forward for one. With an operator it operates on the match. Its forward direction does not depend on whether the last search used / or ?.