Vim Recall繁體中文

Move forward three words

3w

Example

Normal 0 / 1
one two three four five
Cursor on line 1, column 1

Apply the w word motion three times.

Before & after
Before
one two three four five
Cursor on line 1, column 1
After
one two three four five
Cursor on line 1, column 15

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Apply the w word motion three times.

A numeric count before a motion scales it. w moves to a following word start, while punctuation and iskeyword determine word boundaries.