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 插件?


- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01