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