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 +
, *
The output from vim --version
should show something like this:
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
and further down in the output you should see stuff like +Xll:
+vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save
That means your console vim can copy/paste to/from the X11 clipboard.
Try apt-get install vim-gtk