How can I set up Vim for Android development?

后端 未结 5 961
眼角桃花
眼角桃花 2021-01-29 19:08

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 i

5条回答
  •  無奈伤痛
    2021-01-29 19:16

    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:

      emulator -avd BlaDevice -no-boot-anim -scale 0.65 -show-kernel

    • 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.

    • I've used typical Vim setup: NERDTree, FuzzyFinder, and omnicomplete. Java syntax highlighting works out of the box.

    • Never bothered to install Eclim, omnicomplete works just fine in most cases.

提交回复
热议问题