Replace selection with register contents; registers are unchanged
P
Example
Visual 0 / 1Normal 1 / 1one two
three four
five sixCursor on line 1, column 3 · Character selectionred two
three four
five sixCursor on line 1, column 3Replace selection with register contents; registers are unchanged.
Replace selection with register contents; registers are unchanged
Before & after
one two
three four
five sixCursor on line 1, column 3 · Character selectionred two
three four
five sixCursor on line 1, column 3Start in Visual mode. The unnamed register contains the characterwise text "red" before the put command. The highlighted area is observed in Vim. Any displayed register boxes show the exact copied or deleted contents.
Details & Vim help
Example replayed in Vim
Replace selection with register contents; registers are unchanged. Use in Visual mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.