gvim: Easy copying into system clipboard

Posted by Georg Jaehnig on Stack Overflow See other posts from Stack Overflow or by Georg Jaehnig
Published on 2010-12-25T23:21:11Z Indexed on 2011/01/01 2:53 UTC
Read the original article Hit count: 203

Filed under:
|
|
|
|

I am using gVim on Ubuntu 10.10. I want to copy (yank) text to the system clipboard, so that the copied text is available in other applications.

This works with "+y. But I want to have it working with y.

I have tried to map y to "+y but then yy doesn't work anymore (since it produces "+y"+y).

I have also tried :set clipboard=unnamed but this works only the other direction: Text in the system clipboard I can paste with p.

© Stack Overflow or respective owner

Related posts about vim

Related posts about gvim