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
.
y
command – Canny