What vim plugins are available for Eclipse?(Eclipse 有哪些可用的 vim 插件?)
问题描述
我找到了三个,想知道是否还有其他的,它们的优点或缺点可能是什么:
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 不是正确的方法.您希望在获得 Vim 的编辑能力的同时保留 IDE 的灵活性和功能.
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:
动作
h j k l w W e E b B f F t T ;, ^ $ 0 % G H M L 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-R><C-F><C-B>~q@zo zR zc zM zz gt gT
而且它是免费的,所以我会选择那个.
Plus it's free, so I'd go with that one.
这篇关于Eclipse 有哪些可用的 vim 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse 有哪些可用的 vim 插件?


基础教程推荐
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 降序排序:Java Map 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01