Android: Install vim & adb shell vim usage

Editing files on android using touch screens is slow if you're used to touch typing and vim.

So here is how to install vim on Android.

Go to play store and install DroidVim

Once DroidVim is installed, launch it, wait till its done installing binaries.

Now once you're in adb shell, you can do this:

alias vim="/data/data/com.droidvim/files/bin/"

Now you can use vim to edit your files like this:

vim new_file.txt