Vim Recall繁體中文

Find a character backward

F{char}

Example

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

Move onto an earlier occurrence on this line.

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

Start in Normal mode. Cursor starts on c. Type F, to land on the nearest comma to its left.

Details & Vim help

Example replayed in Vim

Move onto an earlier occurrence on this line.

Replace {char} with a literal character. F searches backward within the current line and lands on the matching character. It is case-sensitive as a key: f goes forward.