I have GVim 7.1 installed on Windows XP.
I have Eclipse 3.3.2, Europa JEE package.
My version of Java is 1.6.0_05.
I installed VimPlugin as per the instructions.
I am curious as to whether I should be setting "Path to gvim" under Windows->Preferences->Vimplugin
to C:\Program Files\Vim\vim71\vim.exe or to C:\Program Files\Vim\vim71\gvim.exe
With the latter, gVim opens as normal in a seperate window, exactly as if I'd configured GVim as an external editor.
With the former, Eclipse simply hangs when I attempt to open a file.
I can see a checkbox labelled: "Embed Vim: (Linux Only)" and wonder if this means it is not possible to actually embed GVim in Eclipse on Windows XP.
I saw an entry mention use of cygwin gvim, but am not very familiar with cygwin and am cautious about this, considering that normal windows GVim works so well. (Don't fix what isn't broken.)
Is there any comprehensive explanation about this situation anywhere? (I have looked and searched - but did I miss something?)
Basically, what is the ideal config for using VimPlugin on Windows XP?
Also, is there any significance to the Port, Host and Password properties in the VimPlugin preferences?
And finally, are there any known issues with having both VimPlugin and Eclim (http://eclim.sourceforge.net/) installed?
Hoping to get a great tool working ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But setting "Path to gvim" under Windows->Preferences->Vimplugin
to C:\cygwin\bin\vim.exe or to C:\cygwin\bin\gvim.exe
causes Eclipse to hang when I open a file.
Do I need cygwin's X running as well? Surely not.
Is there anyone who has a clue as to what I might be missing, either in knowledge or software?
Cheers,
Stewart
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, another update. If I have "Path to gvim" under Windows->Preferences->Vimplugin
set to C:\Program Files\Vim\vim71\gvim.exe,
then when I open a file, as well as opening in a separate window, there appears this stack trace in the error logs:
java.lang.NullPointerException
at com.mbartl.viplugineclipse.ActivateLayer.createNewLayer(ActivateLayer.java:75)
at com.mbartl.viplugineclipse.ActivateLayer.activateLayer(ActivateLayer.java:61)
at com.mbartl.viplugineclipse.ViWindowListener.windowActivated(ViWindowListener.java:23)
at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:801)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have GVim 7.1 installed on Windows XP.
I have Eclipse 3.3.2, Europa JEE package.
My version of Java is 1.6.0_05.
I installed VimPlugin as per the instructions.
I am curious as to whether I should be setting "Path to gvim" under Windows->Preferences->Vimplugin
to C:\Program Files\Vim\vim71\vim.exe or to C:\Program Files\Vim\vim71\gvim.exe
With the latter, gVim opens as normal in a seperate window, exactly as if I'd configured GVim as an external editor.
With the former, Eclipse simply hangs when I attempt to open a file.
I can see a checkbox labelled: "Embed Vim: (Linux Only)" and wonder if this means it is not possible to actually embed GVim in Eclipse on Windows XP.
I saw an entry mention use of cygwin gvim, but am not very familiar with cygwin and am cautious about this, considering that normal windows GVim works so well. (Don't fix what isn't broken.)
Is there any comprehensive explanation about this situation anywhere? (I have looked and searched - but did I miss something?)
Basically, what is the ideal config for using VimPlugin on Windows XP?
Also, is there any significance to the Port, Host and Password properties in the VimPlugin preferences?
And finally, are there any known issues with having both VimPlugin and Eclim (http://eclim.sourceforge.net/) installed?
Hoping to get a great tool working ...
This is a follow-up post.
I installed cygwin. Cygwin's vim works.
But setting "Path to gvim" under Windows->Preferences->Vimplugin
to C:\cygwin\bin\vim.exe or to C:\cygwin\bin\gvim.exe
causes Eclipse to hang when I open a file.
Do I need cygwin's X running as well? Surely not.
Is there anyone who has a clue as to what I might be missing, either in knowledge or software?
Cheers,
Stewart
OK, another update. If I have "Path to gvim" under Windows->Preferences->Vimplugin
set to C:\Program Files\Vim\vim71\gvim.exe,
then when I open a file, as well as opening in a separate window, there appears this stack trace in the error logs:
java.lang.NullPointerException
at com.mbartl.viplugineclipse.ActivateLayer.createNewLayer(ActivateLayer.java:75)
at com.mbartl.viplugineclipse.ActivateLayer.activateLayer(ActivateLayer.java:61)
at com.mbartl.viplugineclipse.ViWindowListener.windowActivated(ViWindowListener.java:23)
at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:801)
at com.mbartl.viplugineclipse.ActivateLayer.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is not vimplugin !?
Sebastian.
>>at com.mbartl.viplugineclipse.ActivateLayer.
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>>This is not vimplugin !?
>>
>>Sebastian.
You're absolutely correct.
This is one thing to be aware of then, if one is trying out different Vi plugins for Eclipse.