Vim Recall繁體中文

Use {register} for next delete, yank or put ({.%#:} only work with put)

"{register}

Example

Normal 0 / 2
one two
three four
Cursor on line 1, column 1

Use {register} for next delete, yank or put ({.%#:} only work with put).

Vim registers

a Register a
CharacterwiseEmpty
Before & after
Before
one two
three four
Cursor on line 1, column 1

Vim registers

a Register a
CharacterwiseEmpty
After
one two
three four
Cursor on line 1, column 1

Vim registers

a Register a Changed
Linewise · ↵ marks a line breakone·two↵
" Unnamed register Changed
Linewise · ↵ marks a line breakone·two↵
· space ⇥ tab ↵ line break

ILLUSTRATION. Choose named register a and complete the operation with yy; a is initially empty.

Details & Vim help

Use {register} for next delete, yank or put ({.%#:} only work with put). Use in Normal 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.