Vim Recall繁體中文

Begin new undoable edit

Ctrl-g u

Example

Insert 0 / 4
ab
Insertion point on line 1, column 3

Begin new undoable edit.

Illustrated undo history

Current block
typed ab
Before & after
Before
ab
Insertion point on line 1, column 3

Illustrated undo history

Current block
typed ab
After
ab
Cursor on line 1, column 2

Illustrated undo history

Current block
typed ab

ILLUSTRATION. Insert mode follows typing ab into an empty line. Ctrl-g u separates the next edit into a new undo block.

Details & Vim help

Begin new undoable edit. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.