Mission 25 / 52• Search
Quick Word Search
You frequently want to find everywhere a variable, function, or property is used.
Placing the cursor on any word and hitting `*` searches forward for that exact word without opening the search prompt!
Instant word search
- *search forward for the exact word under the cursor
- #search backward for the exact word under the cursor
Press Enter to start
1function processUser(user) {2 if (!user) return;3 saveUser(user);4}Place cursor on `user` and press `*`. You immediately jump to the next `user`. Hit `*` or `n` to continue hopping!
Now it's your turn!
0 / 4 tasks complete0.0s / 12s par0 / 5 par
Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.
Task 1: Jump to user on line 2 with quick word search *.
Show hint
Press * on line 1, col 14.
Press Enter to start
1user username user2userjkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next