Skip to content

Instantly share code, notes, and snippets.

@ninjachen
Last active November 3, 2018 11:22
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 ninjachen/9112784225eb966ddc2e81e88570db21 to your computer and use it in GitHub Desktop.
Save ninjachen/9112784225eb966ddc2e81e88570db21 to your computer and use it in GitHub Desktop.
Build and install vim 8.0 and
./configure \                           
  --disable-nls \
  --enable-cscope \
  --enable-gui=no \
  --enable-multibyte  \
  --enable-pythoninterp \
  --enable-rubyinterp \
  --prefix=/home/ninja/.local/vim \
  --with-features=huge  \
  --with-tlib=ncurses \
  --without-x
- make && make install
- the vim will located at ~/.local/vim/bin/vim
- add to config file ~/.bashrc

if [ -d "$HOME/.local/vim/bin/" ] ; then PATH="$HOME/.local/vim/bin/:$PATH" fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment