Vim Recall繁體中文

Switch Insert/Replace mode

<Insert>

Example

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

Switch Insert/Replace mode.

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

Start in Insert mode. Insert toggles to Replace mode; the text is unchanged until further typing.

Details & Vim help

Example replayed in Vim

Switch Insert/Replace mode. Use in Insert mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.