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!

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.

1
user username user
2
user
jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next