什么vim插件可用于Eclipse? [英] What vim plugins are available for Eclipse?

查看:151
本文介绍了什么vim插件可用于Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经找到了三个,并且想知道是否有其他的,它们的优缺点是什么:

I have found three and would like to know if there are others and what their advantages or disadvantages might be:

  • Vimplugin
  • Vrapper
  • Eclim

我已经包含了Eclim,但与其他两个选项不同,它使Eclipse功能可用vim,我真正的是在Eclipse环境中的vim功能。

I've included Eclim, but it differs from the other two options in that it makes Eclipse functionality available in vim and what I'm really after is vim functionality within the Eclipse environment.

推荐答案

Eclim



我认为Eclim不是正确的方法。您希望保持IDE的灵活性和功能,同时获得Vim的编辑功能。

Eclim

Eclim is not the correct approach in my opinion. You want to retain the flexibility and functionality of the IDE while gaining the editing power of Vim.

当我使用Eclipse时,我使用了 viPlugin 。但是它不是免费的(不像IntelliJ Idea Vim插件)。它也没有Visual Studio Vim插件那么彻底。你会发现缺少某些功能。像Ctrl +]这样的事情去定义或Ctrl + o为回去不行。然而,宏不会有标记。它提供了Vim文本编辑的核心功能。如果我记得正确,你甚至可以有一个简单的vimrc配置文件。您可以免费试用来测试它。

I used viPlugin when I was working with Eclipse. However it is not free (unlike the IntelliJ Idea Vim plugin). It also is not as thorough as the Visual Studio Vim plugin. You'll find that certain functionality is missing. Things like Ctrl+] to "go to definition" or Ctrl+o for "go back" don't work. Macros don't work either however it does have marks. It provides the core functionality of Vim text editing. If I recall correctly you can even have a simple vimrc configuration file. You can do a free trial to test it out.

显然,Vrapper有宏和标记,以及以下命令:

Apparently Vrapper has macros and marks, as well as the following commands:

动议

hjklw W e E b B f F t T; ,^ $ 0%GHML gg ge gE

运算符

y Y d D c C s S p P r J x X i I a A o O。 < > gc gu gU

搜索

/? n N *#

文本对象(仅在正常模式下)

ib i( i) i[ i] iB i{ i} i i" i' i` iw iW ab a( a) a[ a] aB a{ a} a a" a' a` aw aW

计数

您可以使用数字键在其他命令前面指定计数。
其他命令

You can use the number keys to specify counts in front of other commands. Other Commands

v V u c为C-F> c为C-B个〜q @ zo zR zc zM zz gt gT

加上它是免费的,所以我会去那个。

Plus it's free, so I'd go with that one.

这篇关于什么vim插件可用于Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆