On 2013-01-31 23:58:16, Tye wrote:
> Because of the projects I currently work on I must use Windows.
>
> I am still getting used to Eclim but :PingEclim works from Gvim. However,
> if possible, Cygwin's Vim would be preferable.
> 1. Can Eclim be used with both Gvim and Cygwin Vim on the same project?
> 2. Where can I find information on getting Eclim working with Cygwin? I saw
> the announcement of initial support for it but can't see how to get it
> working. When I :PingEclim from Cygwin Vim it just doesn't recognize the
> command.
It sounds like the issue you are running into is the fact that
cygwin's vim and gvim have separate runtime paths, so you'd need to
either add the gvim runtime path to your cygwin vim's vimrc or copy
the eclim vim files over (which is not the best idea since you'd have
to do it every time you upgrade).
To view your runtime path you can run the following in the respective
vim instances:
:echo &rtp
You can append to the runtime path from the respective vimrc file as
well using:
set rtp+=/path/to/other/rtp
So to add the gvim user runtime path to the runtime path of the cygwin
vim, I think it would be something along the lines of (from a cygwin
shell):
$ echo "set rtp+=/cygdrive/c/Documents\ and\ Settings/User\ Name/vimfiles" >> ~/.vimrc
That path may vary depending on your setup.
Also note, that if you have any plugins in your gvim runtime path that
use window's line endings, you may encounter some errors when the
cygwin version of vim attempts to source them. That shouldn't be a
problem for the eclim files though.
Let me know if you have any trouble figuring this out and I'll try to
help you along some more.
> Thank you for this interesting union of my two most used programs.
--
eric