Skip to main content

Command Palette

Search for a command to run...

Android: Install vim & adb shell vim usage

Published
View as Markdown
A

9+ years in tech industry. I had the opportunity to work on a wide range of projects with companies both locally and remotely, including with software engineers from well-known tech firms such as Amazon, Atlassian, Google, and Microsoft.

I have a track record of taking ideas and turning them into successful software projects, and have made numerous contributions to open source.

I have experience working with a variety of languages and frameworks, and am highly adaptable and able to quickly learn and become proficient in new technologies.

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/vim.sh"

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

vim new_file.txt

:)