Skip to content
Jeremy Pallats/starcraft.man edited this page Feb 22, 2015 · 6 revisions

Installing Vim with Python 2.7 support

Requirements & Version Checking

POSIX OS, so Linux, BSD or OSX. No plans for Windows support.

Python 2 version >= 2.7 is required, check with: python --version

Vim/GVim with +python support. To check on command line vim --version | grep +python Alternatively, inside vim execute :version.

If you don't have the requirements see below.

Ubuntu

If your distribution of Ubuntu comes with python 2.7 (like most recent), the packaged vim should be all that is needed. If it isn't installed then run:

sudo apt-get install vim

If you are on an older Ubuntu machine with 2.6 or older, see compiling instructions below to get latest python and/or vim compiled. Alternatively, you can try to find a PPA with 2.7, but I can't recommend one.

Clone this wiki locally