When I try to open a file in an Eclipse project in gvim (using Eclipse's "open with -> other"), gvim seems to skip loading the global gvimrc and vimrc files and opens a bare white window with the default settings. Is there any way I can configure the command line Eclipse uses to launch gvim to add in the -u and -U options to specify the configuration files manually?
I did not find an option for that in the Eclipse preferences. I found the respective config file to be
So what you can do is use a batch file which runs the executable with parameters. Maybe when you installed vim, you already generated
Note that it works fine for me out of the box, without the batch workaround. So instead of specifiying the vimrc manually, you could try finding out why your config isn't loaded in the first place and fixing that by consulting the
For other approaches to vimming with Eclipse, check out http://stackoverflow.com/questions/597117/painless-integration-of-eclipse-with-vim