Vim Recall繁體中文

Run the contents of register {a-z} the count times

@{a-z}

Example

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

Run the contents of register {a-z} the count times.

Vim registers

a Register a
CharacterwiseA!<Esc>
· space ⇥ tab ↵ line break
Before & after
Before
one two
three four
Cursor on line 1, column 1

Vim registers

a Register a
CharacterwiseA!<Esc>
· space ⇥ tab ↵ line break
After
one two!
three four
Cursor on line 1, column 8

Vim registers

a Register a
CharacterwiseA!<Esc>
· space ⇥ tab ↵ line break

ILLUSTRATION. Register a is prepared with literal macro A!<Esc>. Choose a; execute once on one two.

Details & Vim help

Run the contents of register {a-z} the count times. 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.