Eclipse 有哪些可用的 vim 插件? [英] What vim plugins are available for Eclipse?

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

问题描述

我找到了三个,想知道是否还有其他的,它们的优点或缺点可能是什么:

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

我已经包含了 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 插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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