vim commands in Eclipse

EclipseVim

Eclipse Problem Overview


I have been doing some java development lately and have started using Eclipse. For the most part, I think it is great, but being a C/C++ guy used to doing all of his editing in vim, I find myself needlessly hitting the Esc key over and over.

It would be really nice if I got all the nice features of Eclipse, but still could do basic editing the same way I can in vim. Anyone know of any Eclipse pluggins that would help with this?

Eclipse Solutions


Solution 1 - Eclipse

Vrapper: > an Eclipse plugin which acts as a wrapper for Eclipse text editors to provide a Vim-like input scheme for moving around and editing text. > Unlike other plugins which embed Vim in Eclipse, Vrapper imitates the behaviour of Vim while still using whatever editor you have opened in the workbench. The goal is to have the comfort and ease which comes with the different modes, complex commands and count/operator/motion combinations which are the key features behind editing with Vim, while preserving the powerful features of the different Eclipse text editors, like code generation and refactoring...

Solution 2 - Eclipse

There is this plugin that costs $20+ http://satokar.com/viplugin/

I use it and it works great, you've got basic vi movement commands and a set of others.

Here is an open source, free plugin but i've never been able to get it working (i'm on a mac).

http://sourceforge.net/projects/vimplugin/

You can also go the other way and get eclipse code completion inside vim. http://eclim.sourceforge.net/ You basically run an instance of Eclipse and you will be working inside vim. They just released a version compatible with Eclipse 3.4.

New plugin I've started using https://marketplace.eclipse.org/content/viable-vim-eclipse

Solution 3 - Eclipse

Viable has pretty much what you are looking for along with some extra features which none of the other plugins for eclipse seem to have, like some support for visual block mode, command line history, window splitting, and piping external commands.

It is pay ($15.00 CAD) but free to tree with all the features. I personally like it better than the other solutions.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCraig HView Question on Stackoverflow
Solution 1 - EclipseTobias CudnikView Answer on Stackoverflow
Solution 2 - EclipseBrendon-Van-HeyzenView Answer on Stackoverflow
Solution 3 - EclipseldogView Answer on Stackoverflow