Vim Recall繁體中文

Run one Normal command while typing

Ctrl-o

Example

Insert 0 / 1
red blue
Insertion point on line 1, column 9

Temporarily leave Insert mode for one Normal command.

Before & after
Before
red blue
Insertion point on line 1, column 9
After
red blue
Insertion point on line 1, column 1

Start in Insert mode. Insertion point starts at the end of the line. Press Ctrl-o then 0; the insertion point returns at column one.

Details & Vim help

Example replayed in Vim

Temporarily leave Insert mode for one Normal command.

Press Ctrl-o, run one Normal command such as 0 or $, then Vim resumes Insert mode. It is different from Normal-mode Ctrl-o, which walks the jump list.