Vim Recall繁體中文

Reverse a character find

,

Example

Normal 0 / 1
a,b,c,d
Cursor on line 1, column 5

Repeat the last f, F, t, or T in the opposite direction.

Before & after
Before
a,b,c,d
Cursor on line 1, column 5
After
a,b,c,d
Cursor on line 1, column 4

Start in Normal mode. A forward f, search has already been made; , repeats it backward.

Details & Vim help

Example replayed in Vim

Repeat the last f, F, t, or T in the opposite direction.

The remembered target stays the same. Comma temporarily reverses the direction of the previous line-local find.