Monday, December 14, 2009

Re: vim vs gvim -v

>> I suspect that your vim and your gvim are different binaries
>> and that gvim has support for the mouse compiled in whereas
>> vim does not.
>
> My golly, you are right! I'll paste the diff below. I guess
> I'll have to compile with +X11, unless I can start gvim like
> -v but with compatible mode set? I put :set compatible in my
> .gvimrc and started it with 'gvim -v' but it gave a whole load
> of E errors due probably to my other compatible-only settings.

I think most gvim builds are smart enough to run as console apps
if invoked as "vim" or "vi", so you may be able to get away with

bash$ cd /usr/bin/
bash$ mv vim vim_orig
bash$ ln `which gvim` vim

and then use vim as desired. If that works, you can nuke the
vim_orig backup. Alternatively, if you used your package manager
to install both, you might have installed a "vim-tiny" or
"vim-minimal" package you can just uninstall; or opt for the
preference of the "big" gvim version.

-tim

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: