Skip to content
Vim
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. Practice is where you learn it, with the answer a click away; the Test is graded, unaided, and the only thing that marks this lesson complete.

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 to learn it. Test to prove it.

Practice keeps the answer a click away — endlessly in Free, or as a 15-goal run against par and your own best time in Timed. The Test gives you 10 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

/border

Search forward for “border”.