Vim Recall繁體中文

Equivalent to k

Ctrl-p

Example

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

Equivalent to k.

Before & after
Before
one two three
four five six
seven eight nine
Cursor on line 2, column 5
After
one two three
four five six
seven eight nine
Cursor on line 1, column 5

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Equivalent to k. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.