View Tutorial Metadata Edit Content Revision History Add to Watchlist Add New Tutorial Using system copy and paste in VIM

How to use system copy and paste in VIM

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 .

Only plain text supported.

Optional

Required - will be kept private

Optional

 
 

Rating: (0+, 0-) In: Editors, Vim