Better Programming

Advice for programmers.

Follow publication

Member-only story

Master Vim for Python Development

Tommaso De Ponti
Better Programming
Published in
5 min readMay 21, 2020
Photo by Goran Ivos on Unsplash

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:

My Vim Code Editor

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

Windows users

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Tommaso De Ponti
Tommaso De Ponti

Written by Tommaso De Ponti

Building stuff, #Stellar. https://tdep.xycloo.com. Check my personal blog at https://heytdep.github.io for more specific and/or advanced articles.

Responses (2)

Write a response