Execute the commands chunk by chunk because I haven't tested this as a whole
# setup environment
cd /cvmfs/cms.cern.ch/slc7_amd64_gcc630/cms/cmssw/CMSSW_10_2_0_pre6/ ; cmsenv ; cd -
# make containment folder somewhere and get vi
mkdir vim8
cd vim8
git clone https://github.com/vim/vim
# we need ncurses
# https://askubuntu.com/questions/158344/no-terminal-library-found-when-compiling-vim
version=ncurses-6.1
curl -O -L http://ftp.gnu.org/pub/gnu/ncurses/${version}.tar.gz
tar xvzf ${version}
cd ${version}
./configure --prefix=`pwd`
make -j10
make install
export NCURSLIB=`pwd`/lib
# back into vim folder and start configuring
cd ../vim
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NCURSLIB}
LDFLAGS=-L${NCURSLIB} ./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--enable-python3interp=yes \
--enable-gui=gtk2 \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-cscope \
--prefix=`pwd`
make -j20
make install
# done!
# your vim should be in `vim/bin/`, so fire it up
./vim/bin
# put it on your path if things go well
Had to do
pip3 install greenlet==0.4.10 --user -U
to get deoplete to "work" (https://github.com/Shougo/deoplete.nvim)
"work" = not complain/crash, but still didn't get any useful completion out of it