Vrapper (Vim)

Add this URL to your Eclipse Installation to reach this Solution's Update Site.

Learn more...

Details Group Tabs

Nir Friedman's picture

I've tried quite a few vim emulators. This is hands down the best of those I've tried; that includes well regarded products like JetBrain IdeaVim. I'd say this plugin is 99% of the way to supporting everything you'd conceivably want in Vim when using it inside an editor. It even supports several popular vim plugins. When I compare Eclipse to other IDEs, it's become one of the major pros. It's also free and OSS; the maintainers are extremely friendly and responsive, and fixed a bug I reported almost instantly. Great product!

Roberto Alegro's picture

It seems that the O key, that should change the direction of a selection while in visual block mode (like it does in visual line mode) is not doing so. Is that a bug or there is a option to enable it?

The plugin works great for everything else I tried. Thanks a lot.

Vrapper Team's picture

It looks like this was an oversight, we never implemented the 'o' command in visual block mode. I've filed a feature request for it.
https://github.com/vrapper/vrapper/issues/613

Tianshu Shi's picture

I could not insert 4 spaces for tabs while pressing tab or using command "cc", "o", etc...
it' doesn't work with either "set expandtab" or " set insert spaces for tabs in eclipse preferences".
really pool english T_T.

Vrapper Team's picture

The 'expandtab' setting only affects the i_ctrl-t, i_ctrl-d, and :retab commands. All other commands ('cc', 'o', etc.) should be using your Eclipse settings. The "insert spaces for tabs" Eclipse setting should be all you need. If you think this is a defect and you have more details, please open an issue on our GitHub page:
https://github.com/vrapper/vrapper/issues

Minos Niu [Shanghai Jiao Tong University]'s picture

This crucial function is gone. Please post fix

Vrapper Team's picture

Vrapper only receives key presses if Eclipse does not have something bound to that key. You must unbind "Ctrl+V" from Eclipse for Vrapper to receive it. Go to Window -> Preferences -> General -> Keys and search for "Ctrl+V". Select the binding for Paste and click "Unbind Command". Hit 'OK' and Ctrl+V should now enter Visual Block mode in Vrapper.

I confirmed that this still works using the latest unstable build on Luna. If you're having issues with 0.44.0, try upgrading to the latest unstable build and please let us know if you're still seeing an issue.

HY Xin's picture

If there can be a way to move cursor between splits with some hotkey combination, (like the vim 'ww'), it would be great!

Vrapper Team's picture

You can ignore my previous comment about accessing this plugin from our unstable update site. The Split Editor plugin is now included in our stable release of Vrapper 0.34.0.

Vrapper Team's picture

HY Xin, we've been working on implementing this feature and put the current state on our Unstable update site. If you add our unstable update site to Eclipse you'll see an optional "Split Editor Plugin" which should give you the commands you want. We made this a separate plugin because it uses the Eclipse 4 API and we don't want to force our Eclipse 3.x users to upgrade. The feature might not be fully stable yet so let us know if you run into any defects! Thanks!
http://vrapper.sourceforge.net/update-site/unstable

HY Xin's picture

Love it to my guts.

michalSt Mising name's picture

I have noticed that it terribly slows down some activities in IDE.
when I hit Ctrl-F it takes cca. 2-4sec before search dialog appears.
after uninstallation Ctrl-F is fast immediate again.

Vrapper Team's picture

We've never heard of this happening and can't reproduce it ourselves. If you can provide more details about how to reproduce this issue, please file it on our GitHub page:
https://github.com/vrapper/vrapper/issues
Thanks!

Gerrit Schimpf's picture

I have been testing this for a while now and so far I am really happy with the plugin.