Last active
December 26, 2021 14:35
-
-
Save ckunte/80a9ba208b58a5b1aa8f122d602a55f4 to your computer and use it in GitHub Desktop.
Compiling Vim from source with Python3 interpreter enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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