当前位置:首页> 正文

Eclipse中的vim命令

Eclipse中的vim命令

vim commands in Eclipse

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

如果我拥有Eclipse的所有出色功能,那将是非常不错的,但是仍然可以像在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...


这个插件的价格超过$ 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


Viable具有几乎所有您正在寻找的功能以及一些其他eclipse插件似乎没有的额外功能,例如对可视块模式,命令行历史记录,窗口拆分和管道外部命令的某些支持。

它是付费的($ 15.00 CAD),但可以免费使用所有功能。我个人比其他解决方案更喜欢它。


展开全文阅读

相关内容