Skip to content
Vim
Learn/

Quick Word Search

24 / 51

Search

Quick Word Search

Search from the word under the cursor with * and #.

These commands avoid typing a query when the identifier is already visible. Star searches forward; hash searches backward.

Use *, 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 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 8 goals with no hints and a keystroke budget on each; passing it is what marks this lesson complete.

*

Search for the word under the cursor with *.