Vim Recall繁體中文

Repeat the last change

.

Example

Normal 0 / 1
ne two
Cursor on line 1, column 1

Apply the last repeatable text change again.

Vim registers

" Unnamed register
Characterwise · Uses Small delete registero
- Small delete register
Characterwiseo
· space ⇥ tab ↵ line break
Before & after
Before
ne two
Cursor on line 1, column 1

Vim registers

" Unnamed register
Characterwise · Uses Small delete registero
- Small delete register
Characterwiseo
· space ⇥ tab ↵ line break
After
e two
Cursor on line 1, column 1

Vim registers

" Unnamed register Changed
Characterwise · Uses Small delete registern
- Small delete register Changed
Characterwisen
· space ⇥ tab ↵ line break

Start in Normal mode. Before is prepared by deleting the first character with x; the example then demonstrates the displayed command.

Details & Vim help

Example replayed in Vim

Apply the last repeatable text change again.

Dot repeats a change, not arbitrary cursor movement. A count supplied before dot replaces the count used by the original change; 5. does not universally mean five independent replays.