Like my stuff? I'm now live coding on Twitch several times a week. Come join me while I build software, teach concepts, and sometimes play 8 bit video games.

Jeremy Morgan on Twitch

Vim is a lot better than Vi, especially if you’re programming. If you would rather use Vim than Vi, and you’re on an older distro, here is how you set it up in your shell.

Edit your .bashrc file:

vi /root/.bashrc

Add a line to it:

alias vi='vim'

And save the file. That’s it! Most newer distros do this automatically but some distros still use vi by default.

Get notified when new tutorials are posted:

Published: Aug 18, 2011 by Jeremy Morgan. Contact me before republishing this content.