Member-only story
Master Vim for Python Development
How to use and set up Vim for productive development
Vim is a highly configurable text editor built that makes creating and editing any kind of text more efficient. I don’t have enough space here to describe all the advantages and features of Vim, but the main reason I use this editor is that you can hack it to do anything you want: use common configurations, create custom commands, custom configs, etc.
Perhaps you’ve heard that Vim is difficult to use and configure — well, it’s true. That’s why today I’m going to show you how I set up Vim for Python programming. I have built the perfect Python development IDE. Over the years I’ve tried PyCharm, Atom, Sublime Text, Spider, and other excellent IDEs, but the one I build with Vim was the best: simpler, faster, and, above all, just with the configurations I wanted. Furthermore, the code editor we’re about to build is completely free.
Preview
This is what my Vim looks like now:

As you can see, I built a great looking editor with advanced auto-completion that’s able to execute our code quickly. Obviously, you’ll also be able to change the theme, as it’s not as good as some others. Great!
Remember, I choose to keep my editor very light. You can add many more features — we’ll see how later.
Download Vim
Fortunately, installing Vim is easy and fast.
Mac users
To install Vim on your Mac, you need HomeBrew
. To install HomeBrew
open your terminal and type the following:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Once you’ve installed HomeBrew
, you can install Vim
:
brew install vim
Linux users
As always for these type of programs, the Linux installation is the easiest:
sudo apt-get install vim