我如何设置Vim的为Android开发? [英] How can I set up Vim for Android development?
问题描述
任何人都可以形容一个很好的Vim的设置为Android开发?我使用的Eclipse,但现在我真的想使用Vim,因为它的速度更快,我喜欢它更好。我不例如兴趣Eclim。
Can anyone describe a good Vim setup for Android Development? I'm using Eclipse for now but I would really like to use Vim because it's faster and I like it better. I'm not interested in Eclim for example.
我感兴趣的是Vim的插件使用(用于Java,自动完成等),如何使用的.vimrc
的样子,以及如何构建/运行的全过程应用程序的作品(尽可能有效)。
I'm interested in what Vim plugins are used (for Java, autocomplete etc.), how the .vimrc
looks like and how the whole process of building/running applications works (as efficiently as possible).
推荐答案
我曾经做在上网本上的一些Android开发,并成立了一个不错的Vim设置用于此目的。严重的是,它更容易似乎比:
I've once had to do some Android development on a netbook, and set up a nice Vim setup for this purpose. Seriously, it's easier than it seems:
-
在命令行中运行模拟器。这是更好也会这么做吧。我开始我的东西是这样的:
Run emulator from the command line. It's better to do it anyway. I started mine with something like this:
模拟器-avd BlaDevice - 无 - 启动动画-scale 0.65 -show内核
要建立和重新安装应用程序修改后的仿真器,只需从项目的根目录执行蚂蚁重新安装
。地图在Vim中,这命令你的关键选择的组合。
To build and reinstall your modified app to the emulator, simply run ant reinstall
from the project root. Map this command in Vim to your key combination of choice.
我用典型的Vim设置: NERDTree ,的FuzzyFinder 和omnicomplete。 Java的语法高亮工程开箱即用的。
I've used typical Vim setup: NERDTree, FuzzyFinder, and omnicomplete. Java syntax highlighting works out of the box.
从未费心安装 Eclim ,omnicomplete工作得很好,在大多数情况下。
Never bothered to install Eclim, omnicomplete works just fine in most cases.
这篇关于我如何设置Vim的为Android开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!