Paste the system clipboard
"+p
Example
Normal 0 / 2Prefix pending 1 / 2Normal 2 / 2one two
three fourCursor on line 1, column 1one two
three fourCursor on line 1, column 1one two
red
three fourCursor on line 2, column 1Put the contents of clipboard register +.
Vim registers
+Simulated system clipboard (+)- Linewise · ↵ marks a line break
red↵
SIMULATED clipboard
- Provider
Assumed available; no host clipboard is read or written- + register
red
Choose the prepared simulated clipboard register.
Vim registers
+Simulated system clipboard (+)- Linewise · ↵ marks a line break
red↵
SIMULATED clipboard
- Provider
Assumed available; no host clipboard is read or written- + register
red
Put the linewise clipboard after the current line.
Vim registers
+Simulated system clipboard (+)- Linewise · ↵ marks a line break
red↵
SIMULATED clipboard
- Provider
Assumed available; no host clipboard is read or written- + register
red
Before & after
one two
three fourCursor on line 1, column 1Vim registers
+Simulated system clipboard (+)- Linewise · ↵ marks a line break
red↵
SIMULATED clipboard
- Provider
Assumed available; no host clipboard is read or written- + register
red
one two
red
three fourCursor on line 2, column 1Vim registers
+Simulated system clipboard (+)- Linewise · ↵ marks a line break
red↵
SIMULATED clipboard
- Provider
Assumed available; no host clipboard is read or written- + register
red
ILLUSTRATION. Assume a working clipboard provider and a simulated linewise + register containing red plus a newline.
Details & Vim help
Put the contents of clipboard register +.
The + register needs clipboard support in the Vim build and environment. As with other puts, placement follows the register’s characterwise, linewise, or blockwise type.