Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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...

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top