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
1const config = { host: "localhost", port: 8080, secure: true };2console.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!
- Navigate to each green target across the code snippet.
- Use the motions and techniques learned in this lesson to land accurately on each target.
- See how fast you can complete 10 targets.
0/10
1const config = { host: "localhost", port: 8080, secure: true };2console.log("Status:", res.status, "Code:", res.code);NORMAL
00:00
NextCtrl+jTill Character