Vim Recall繁體中文

Move to older text state the count times

g-

Example

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

Move to older text state the count times.

Before & after
Before
ne two
Cursor on line 1, column 1
After
one two
Cursor on line 1, column 1

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

Move to older text state the count times. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.