Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim commands in Eclipse

Tags:

vim

eclipse

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?

like image 234
Craig H Avatar asked Aug 26 '08 18:08

Craig H


People also ask

Can I use Vim in Eclipse?

Vrapper (Vim)Vrapper 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 behav...

What is Vim command in terminal?

On Unix-like operating systems, vim, which stands for "Vi Improved", is a text editor. It can be used for editing any kind of text and is especially suited for editing computer programs.


2 Answers

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

like image 96
Tobias Cudnik Avatar answered Sep 17 '22 13:09

Tobias Cudnik


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

like image 35
Brendon-Van-Heyzen Avatar answered Sep 21 '22 13:09

Brendon-Van-Heyzen