Friday, November 29, 2019

Compiling Vim 8.1 with +python3

Clone the Vim repository on GitHub:

$ git clone https://github.com/vim/vim.git

Change to the source directory, configure and make:

$ cd vim/src
$ ./configure \
   --enable-python3interp \
   --with-features=huge \
   --prefix=$HOME/opt/vim
$ make; make install

Check that +python3 is set:

$ ./vim --version

Link:

$ mkdir -p $HOME/bin
$ cd $HOME/bin
$ ln -s $HOME/opt/vim/bin/vim

No comments: