Put the register twice
2p
Example
Normal 0 / 1Normal 1 / 1one twoCursor on line 1, column 1oredredne twoCursor on line 1, column 7Insert two copies of the chosen register.
Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
red
Insert two copies of the chosen register
Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
red
Before & after
one twoCursor on line 1, column 1Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
red
oredredne twoCursor on line 1, column 7Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
red
Start in Normal mode. The unnamed, a, and 0 registers contain the characterwise text "red".
Details & Vim help
Example replayed in Vim
Insert two copies of the chosen register.
A count before p repeats the put. Characterwise text goes after the cursor; linewise text goes below the current line. The register’s type determines placement.