Skip to content
Vim Learn
Learn/

Find Character

10 / 51

Essential Motions

Find Character

Jump onto a visible character in the current line.

f searches forward, F searches backward, and ; repeats the last find. The motion stays within the current line and does nothing when no match exists.

Use f, F, and ; in the editor beside this lesson. The challenge proves it once; Practice is a timed run against the clock.

Keys in this lesson

f
Find the next occurrence of a character on this line
F
Find the previous occurrence of a character on this line
;
Repeat the last f, F, t, or T on this line
All 91 keys →

Practice against the clock.

The challenge proves completion once. Practice is a timed run of 15 goals — beat par, then beat your own best time. Every completed goal saves locally.

f,;

Find a comma, then repeat the find with ;.