Vim Recall繁體中文

Find a character forward

f{char}

Example

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

Move onto the next occurrence on this line.

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

Start in Normal mode. Cursor starts on a. Type fc; {char} is a placeholder, not text to type.

Details & Vim help

Example replayed in Vim

Move onto the next occurrence on this line.

Replace {char} with a literal character. f searches forward on the current line and lands on the match; F searches backward. A count chooses a later occurrence.