Accepted answer


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.


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.


apparently vrapper has macros and marks, as well as the following commands:


h j k l w w e e b b f f t t ; , ^ $ 0 % g h m l gg ge ge


y y d d c c s s p p r j x x i i a a o o . < > gc gu gu


/ ? 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


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.


sadly, viplugin is the best one.


i used viplugin for quite a while, but now that i've built up a pretty customized vim environment i've switched to eclim. vim already gives you most of what you need - tags, file navigation, and project view. eclim gives you a way to plug into eclipse and gets you the completion and refactoring tools. you use vim for what it's best at and eclipse for what it's best at.

really, i think trying to reimplement vim within the eclipse environment is just a losing proposition. if all you care about are the basic movement and navigation functions, one of the plugins will work just fine. but if you've invested time in getting vim to work the way you want it to, eclim is a painless way to easily hook into eclipse.


i have tried viable and it's my top pick out of them all. it's got pretty much all the features of vrapper, but some additional features that none of the others have like window splitting, command history, and external filters and commands.

it is pay, but it's free to try. it does lack some of the basics like pierre mentioned, no support for ctrl+] for example, however the development is active so chances are it will be implemented.

Related Query

More Query from same tag