Find Motion

Use the find motions to quickly jump to a specific character within a line.

f
char
-move forward to the next occurrence of {char} within the line.
Example
F
f
char
-move backward to the previous occurrence of {char} within the line.
Example
;
-repeat the last find motion.
Example





// use f to jump to the target
const result = calculateSum(10, 20, { round: true });
const activeUsers = users.filter((user) => user.isActive);
 0/15  00:00

Note: The find motions can only be used to navigate to characters within the current line. If no matching character is found in the current line, the cursor will not move.

When to use f and F motions?

The find motions are useful when you want to quickly jump to a specific character within a line, especially if the character is far from the current position.

These motions are frequently used to jump to symbols such as ( and {.