Skip to content

Instantly share code, notes, and snippets.

@qykong
Last active June 28, 2022 00:37
Show Gist options
  • Save qykong/c771d4c5470f2ab57a81b160e0728569 to your computer and use it in GitHub Desktop.
Save qykong/c771d4c5470f2ab57a81b160e0728569 to your computer and use it in GitHub Desktop.
git clone --depth=1 https://github.com/vim/vim.git
cd vim
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python-config-dir=/usr/lib/python2.7/config \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/lib/python3.5/config \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=/usr/local
make
mkdir ~/.local/bin
cp src/vim ~/.local/bin
echo "export PATH=$HOME"'/.local/bin:$PATH' >> ~/.bashrc
cd .. && rm -rf vim
curl -sLf https://spacevim.org/install.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment