Mission 11 / 52• Essential Motions

Find Character

The fastest way to move horizontally across a single line is by searching for a specific target character.

The `f` command (for 'find') jumps your cursor directly to the character you specify.

Find on current line

  • f{char}jump forward to the next occurrence of {char}
  • F{char}jump backward to the previous occurrence of {char}
  • ;repeat the last find in the same direction
  • ,repeat the last find in the reverse direction
1
const config = { host: "localhost", port: 8080, secure: true };
2
console.log("Status:", res.status, "Code:", res.code);

Want to jump to `8080`? Type `f8`. Want to find the next comma? Type `f,`, then press `;` repeatedly to hop from comma to comma across the line.

Now it's your turn!

0 / 4 tasks complete0.0s / 14s par0 / 11 par

Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.

Task 1: Find the first comma with f,.

Show hint

Type f followed by a comma.

1
one, two, three
jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next