Skip to content
Vim Learn
Learn/

Till Character

11 / 51

Essential Motions

Till Character

Land beside a visible character with t and T.

Till motions stop one character before a forward match or one after a backward match. This is often exactly the boundary an operator needs.

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

Keys in this lesson

t
Stop just before the next occurrence of a character
T
Stop just after the previous occurrence of a character
;
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.

T.

Move just after the previous dot with T..