You are not logged in.
As I understand it, to use the system clipboard you have the choice of the selection or the cut buffer that are accessed through vim's * and + registers.
But as far as I can tell, this feature doesn't work with the vim from the repository. Older threads refer to it as working but I cannot get it to work, and I suspect vim was built without support for X.
There is of course the workaround to do a Shift-LMB drag which bypasses vim and has the intended effect, but this impractical when you don't have a mouse.
So how can I get the * and + registers working? If they were disabled, why? Or am I just being stupid?
Advice is greatly appreciated.
Last edited by egan (2010-01-24 21:13:26)
Offline
Just rebuilt vim with --with-x=yes. See abs entry in the archwiki for more information about rebuilding arch packages.
Offline
Just rebuilt vim with --with-x=yes. See abs entry in the archwiki for more information about rebuilding arch packages.
Just as I feared I guess. Does anyone know why --with-x was disabled on the vim package?
Offline
This is probably the best source:
Offline
So my choices are to rebuild vim with x enabled or to install the gvim package. Does anyone know what other things are enabled on the gvim package for the vim binary?
Offline
I'd just install the "gvim" package. You can still use regular console vim, but its built with X so you can do what you want. Seems reasonable to me.
Offline
I'd just install the "gvim" package. You can still use regular console vim, but its built with X so you can do what you want. Seems reasonable to me.
Yeah, I just did. I was worried that it would be too heavy or whatever but it seems fine, and copy and paste works. And back when I was in Ubuntu I stilled used GVim so I am okay with it.
Offline