Vim Recall繁體中文

Add the contents of a register literally and don't auto-indent

Ctrl-r Ctrl-o {register}

Example

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

Add the contents of a register literally and don't auto-indent.

Vim registers

a Register a
Characterwisered
· space ⇥ tab ↵ line break
Before & after
Before
one
Insertion point on line 1, column 1

Vim registers

a Register a
Characterwisered
· space ⇥ tab ↵ line break
After
redone
Insertion point on line 1, column 4

Vim registers

a Register a
Characterwisered
· space ⇥ tab ↵ line break

Start in Insert mode. Use a for {register}; register a contains the characterwise text "red".

Details & Vim help

Example replayed in Vim

Add the contents of a register literally and don't auto-indent. Use in Insert mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.