Vim Recall繁體中文

Quit insert mode, without checking for abbreviation, unless 'insertmode' set

Ctrl-c

Example

Insert 0 / 1
red
Insertion point on line 1, column 4

Quit insert mode, without checking for abbreviation, unless 'insertmode' set.

Before & after
Before
red
Insertion point on line 1, column 4
After
red
Cursor on line 1, column 3

Start in Insert mode. red was just typed in Insert mode; leaving Insert mode puts the cursor on its last character.

Details & Vim help

Example replayed in Vim

Quit insert mode, without checking for abbreviation, unless 'insertmode' set. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.