Eclipse中的vim命令

时间:2020-03-05 18:43:28  来源:igfitidea点击:

我最近一直在进行一些Java开发,并已开始使用Eclipse。在大多数情况下,我认为这很棒,但是作为一个习惯于在vim中进行所有编辑的C / C ++人,我发现自己不必要一遍又一遍地按Esc键。

如果我拥有Eclipse的所有出色功能,那将是非常不错的,但是仍然可以像在vim中一样进行基本编辑。任何人都知道有Eclipse插件会对此有所帮助吗?

解决方案

回答

该插件的价格为$ 20 +
http://satokar.com/viplugin/

我使用它,它的效果很好,我们有基本的vi运动命令和其他命令。

这是一个开源的免费插件,但是我从来没有能够使它正常工作(我在Mac上)。

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

我们也可以采用其他方法,并在vim中获取eclipse代码完成。
http://eclim.sourceforge.net/
基本上,我们运行Eclipse的实例,并且将在vim中工作。他们刚刚发布了与Eclipse 3.4兼容的版本。

我开始使用的新插件
https://marketplace.eclipse.org/content/viable-vim-eclipse

回答

包裹者:

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