- git clone https://github.com/vim/vim.git
- cd vim/src
- git checkout v8.0.18009
- be aware of the prefix.
./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