What vim plugins are available for Eclipse?

John Oxley picture John Oxley · Feb 8, 2010 · Viewed 75k times · Source

I have found three and would like to know if there are others and what their advantages or disadvantages might be:

I've included Eclim, but it differs from the other two options in that it makes Eclipse functionality available in vim and what I'm really after is vim functionality within the Eclipse environment.

Answer

Pierre-Antoine LaFayette picture Pierre-Antoine LaFayette · Feb 10, 2010

Eclim

Eclim is not the correct approach in my opinion. You want to retain the flexibility and functionality of the IDE while gaining the editing power of Vim.

viPlugin

I used viPlugin when I was working with Eclipse. However it is not free (unlike the IntelliJ Idea Vim plugin). It also is not as thorough as the Visual Studio Vim plugin. You'll find that certain functionality is missing. Things like Ctrl+] to "go to definition" or Ctrl+o for "go back" don't work. Macros don't work either however it does have marks. It provides the core functionality of Vim text editing. If I recall correctly you can even have a simple vimrc configuration file. You can do a free trial to test it out.

Vrapper

Apparently Vrapper has macros and marks, as well as the following commands:

Motions

h j k l w W e E b B f F t T ; , ^ $ 0 % G H M L gg ge gE

Operators

y Y d D c C s S p P r J x X i I a A o O . < > gc gu gU

Search

/ ? n N * #

Text Objects (only in normal mode)

ib i( i) i[ i] iB i{ i} i i" i' i` iw iW ab a( a) a[ a] aB a{ a} a a" a' a` aw aW

Counts

You can use the number keys to specify counts in front of other commands. Other Commands

v V u <C-R> <C-F> <C-B> ~ q @ zo zR zc zM zz gt gT

Plus it's free, so I'd go with that one.