Skip to content

Instantly share code, notes, and snippets.

@ckunte
Last active December 26, 2021 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckunte/80a9ba208b58a5b1aa8f122d602a55f4 to your computer and use it in GitHub Desktop.
Save ckunte/80a9ba208b58a5b1aa8f122d602a55f4 to your computer and use it in GitHub Desktop.
Compiling Vim from source with Python3 interpreter enabled
#!/usr/bin/env bash
if ! [ -d "./vim" ] ; then
git clone --depth=1 https://github.com/vim/vim.git
fi
if [ -d "./vim" ] ; then
cd './vim/src' || return
git pull --ff-only
make distclean
./configure --enable-python3interp
make
echo "Run sudo make install in './vim/src' for a good compile."
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment