Vim Recall繁體中文

Line up, to column where inserting started

Ctrl-g <Up>

Example

Insert 0 / 1
one
two
three
Insertion point on line 2, column 2

Line up, to column where inserting started.

Before & after
Before
one
two
three
Insertion point on line 2, column 2
After
one
two
three
Insertion point on line 1, column 2

Start in Insert mode. Insert mode began in column two; the displayed command moves to that insertion-start column on the preceding line.

Details & Vim help

Example replayed in Vim

Line up, to column where inserting started. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.