Skip to content

Instantly share code, notes, and snippets.

@strangesast
Last active January 19, 2021 02:41
Show Gist options
  • Save strangesast/189cedb786b2e4217df0624ce20de305 to your computer and use it in GitHub Desktop.
Save strangesast/189cedb786b2e4217df0624ce20de305 to your computer and use it in GitHub Desktop.
sudo apt-get install -y libncurses5-dev libgtk2.0-dev libatk1.0-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
python3-dev ruby-dev lua5.1 liblua5.1-dev libperl-dev
sudo apt-get remove -y vim vim-tiny vim-common vim-gui-common vim-nox
sudo apt-get autoremove -y
mkdir -p ~/src/github.com
git clone https://github.com/vim/vim.git ~/src/github.com/vim
cd ~/src/github.com/vim
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.9/config-3.9-x86_64-linux-gnu \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-cscope \
--prefix=/usr/local
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment