Based on P; adjust indent to current line
[p
Example
Normal 0 / 1Normal 1 / 1one twoCursor on line 1, column 1redone twoCursor on line 1, column 3Based on P; adjust indent to current line.
Vim registers
"Unnamed register- Characterwise · Uses Yank register 0
red
Command applied
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
redone twoCursor on line 1, column 3Vim 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
Based on P; adjust indent to current line. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.