vim + clipboard facilities : turned off? How does one enable them?
sanjay.ankur at gmail.com
Sat Nov 27 19:17:45 UTC 2010
On Sun, 2010-11-28 at 00:20 +0530, Ankur Sinha wrote:
> I was looking for a method to send text from a vim buffer to the system
> clipboard. I came across this.
> The fedora Vim package has clipboard facility disabled:
> [ankurGuest at 070905042 PhD]$ vim --version | grep -i clipboard
> -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info
> -xterm_clipboard -xterm_save
> Ubuntu apparently has a package vim-full where the clipboard facilities
> etc. is enabled. Is there a similar package in Fedora? I'd really like
> to stick to fedora packages. Is there a reason why this is turned off?
Well, I went hunting, and came up with this. (problem solved btw)
gvim is compiled with the clipboard options enabled, therefore instead
of using vim, use "gvim -v filename"
then, for example, to copy the entire file to the system clipboard, go
"+ here is the register that holds the system buffer and is what works
for xterm, you can use * instead of +.
More information about the devel