Based on p; adjust indent to current line
]p
Example
Normal 0 / 1Normal 1 / 1one twoCursor on line 1, column 1oredne twoCursor on line 1, column 4Based 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
oredne twoCursor on line 1, column 4Vim 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.