Paste text from system buffer
This method of pasting text into VIM should work on any platform - Linux / Windows / Mac.
Use the following key combinations:
-
To copy the current selection to system buffer: (1) type a double quote, (2) type a star, and (3) type y, that's:
"*y
-
To paste from system buffer: (1) type a double quote, (2) type a star, and (3) type p, that's:
"*p
For more information, visit Vim tips Wiki .