Skip to content
Vim Learn
Learn/

Search Review

25 / 51

Search

Search Review

Choose between typed, repeated, and word-based searches.

Fluency means selecting the shortest search based on what is already visible and which direction the next useful match lies.

Use /, ?, n, N, *, and # in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

/
Search forward for a pattern you type
?
Search backward for a pattern you type
n
Repeat the last search in the same direction
N
Repeat the last search in the opposite direction
*
Search forward for the word under the cursor
#
Search backward for the word under the cursor
All 91 keys →

Practice against the clock.

The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.

#

Search backward for the word under the cursor with #.