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
1
function 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!

  1. Navigate to each green target across the code snippet.
  2. Use the motions and techniques learned in this lesson to land accurately on each target.
  3. See how fast you can complete 10 targets.
0/10
1
function processUser(user) {
2
if (!user) return;
3
saveUser(user);
4
}
NORMAL
00:00
NextCtrl+jSearch Review