Vim Recall繁體中文

Change through three word ends

3ce

Example

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

Change from the cursor through the third word end reached by e.

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
Before & after
Before
one two three four five six seven
Cursor on line 1, column 1

Vim registers

" Unnamed register
Characterwise · Uses Yank register 0saved
- Small delete register
CharacterwiseEmpty
· space ⇥ tab ↵ line break
After
green four five six seven
Cursor on line 1, column 5

Vim registers

" Unnamed register Changed
Characterwise · Uses Small delete registerone·two·three
- Small delete register Changed
Characterwiseone·two·three
· space ⇥ tab ↵ line break

Start in Normal mode, at line 1, column 1 (one-based). The count extends the inclusive e motion through three word endings. Press 3ce. The demonstrated replacement is green; finish it with Escape.

Details & Vim help

Example replayed in Vim

Change from the cursor through the third word end reached by e.

The count extends the inclusive e motion through three word endings.