score:1

Accepted answer

http://vimplugin.org, which I found over the weekend was the closest I could come to a nice integration. Unfortunately when I opened more than 2 files in my IDE, it made my entire workstation unresponsive. And I didn't even use the "new process" option for the editor.

So bottom line it does seem that there is no decent integration available yet. Although with some it's close. I'm rooting for vimplugin to stabilize and I'll also some time (when I'm not eating up my employer's time like now) play some more with hte plugin to see if I can make it usable.

score:0

...is there any IDE which matches Eclipse's functionality -- mainly the integration with SVN, ant, etc. -- and is also able to use Vim?

IntelliJ IDEA has a very good VI plugin, but I didn't like it, although the plugin did it's work.

My problem was I have formed habits to use IDEA and those were harder and my experiment didn't it through. So I uninstall the plugin, and learned idea shortcuts instead.

But, is not free :(

score:0

Vrapper does the trick.

After installing Vrapper you need to remove CTRL+W key binding in Eclipse settings. Or else it keeps closing the editor when you actually meant Backspace.

It also comes with "surround" and split window plugins. Be sure to install those.

This is not 100% Vim, though. And nothing is 100% Vim except for Vim (doh!). You will find some commands missing (or you may not, depending on how "vimy" you are). But vrapper has :vim command, which opens up Vim editor with the current file in the buffer and places your cursor in the exact location in the file. This way you can continue editing from where you left off. When you're done in Vim just close the editor, and you return to your eclipse editor.

I hope this was helpful.

score:1

I tried Eclim and didn't like it at all. I ended using this plugin called "viPlugin," which actually works well enough to warrant using it every day. Here is the site for viPlugin:

http://www.viplugin.com

The big downside of this plugin is that it's not free. I paid for it, and I think it's worth it.

score:2

I never had much luck with vim integration into any IDE, be it Eclipse, Visual Studio, NetBeans, or sth else. Instead when stuck using an IDE, I just make the IDE launch a custom program: which passes the file onto vim using the client/server feature.

I.e. vim --servername SomeName --remote-{choice of how to open it: splits or tabs} {extra args like filename and +line#}

score:2

I just tried Eclim http://eclim.org/ and found it really good. I can still edit inside Vim, and enjoy most of the benefits of the eclipse IDE inside Vim (such as better omni completions).

The best thing about Eclim is we are still using the original Vim, so I can enjoy all the existing benefits (my own functions, macros, etc.) while having the extra convenience provided by an IDE.

score:3

I use Viable, which is a new plugin for Eclipse providing Vi emulation. It is very similar to vrapper, but it doesn't have the same problem as vrapper with refactoring (as cysiek10 described.)

It's got some pretty cool features which none of the other Vim emulators in Eclipse seem to have (though jvi for NetBeans has a few of these) such as:

  • Visual block mode
  • External filters and commands
  • Command history
  • Window splits (love having this one!)

It is pay; however, you can try the full version for free just like viPlugin.

score:8

WOW, this is the one!

http://vrapper.sourceforge.net/home/

It just came out a few months ago, and seems much better than the other alternatives...and it is open source.

score:13

The consensus seems summarized in that Wanted: VIM in Eclipse article.

No decent Vi plugin exists for eclipse, except viplugin which does not offer macro mechanisms.

vi

Whereas on the NetBeans side... jvi does a killing job ;)

alt text

score:29

I've been using Vrapper for about 2 months and it works great. It is simple to install, and makes life much easier.

It doesn't integrate Vim with Eclipse, it just emulates Vim's behaviour so you don't need to have Vim installed.

EDIT:

I have been experiencing errors while refactoring methods in Eclipse (only when Vrapper was installed) so I stopped using it.

Now I'm using ViPlugin (very similar to vrapper). It works great (especially since version 2.0) and I recommend it, but it is not free (but cheap and has a trial version)

Edit

As the new post mentioned, if we always use the rename dialog to rename, it can be a work around for Varpper.

Preferences > Java > and uncheck "Rename in editor without dialog"

http://sourceforge.net/apps/trac/vrapper/ticket/96


Related Query

More Query from same tag