Wednesday, April 11, 2012

vim on ubuntu - cut to system clipboard

I am using Ubuntu 12.04 Beta and Vim that has come with it. I am trying to use Vim to copy the content of a text file to Chrome browser.
I have tried +, * y and all its variants. I have tried to :set clipboard=unnamed and : set clipboard=unnamedplus. Not working.
I am not trying to use xclip, or gvim or any. I tried with xclip (not a standard package in Ubuntu 12.04), but that too does not work, also too much effort.

How do I copy the text to the clipboard and then paste anywhere, like Chrome.

No comments:

Post a Comment