Tutorial: How to use Vim instead of Vi with an alias
Last Update: Mar 25, 2023

AI changed software development. This is how the pros use it.
Written for working developers, Coding with AI goes beyond hype to show how AI fits into real production workflows. Learn how to integrate AI into Python projects, avoid hallucinations, refactor safely, generate tests and docs, and reclaim hours of development time—using techniques tested in real-world projects.
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.

Want to learn more about Linux? Of course you do. Check out this Linux Fundamentals course. You can sign up for a free trial here and take it today!

Skip the hype. The newsletter that keeps you in the know.
AI news curated for engineers. The AI New Hotness Newsletter is what you need.
Zero fluff. Just the research, tools, and infra updates that actually affect your production stack.
Stay up to date on AI for developers - Subscribe on LinkedIn





