P
The
Command
The P command in Vim
Command
paste before
Paste the contents of the unnamed register before the cursor. For linewise yanks, pastes above the current line.
Examples
P"aP(paste from register a before)[p(paste above with indent)
Related plugin
tpope/vim-unimpaired — [p pastes before with auto-indent. ]p pastes after with indent.
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related commands