Skip to Main Menu

Script to compile vim

This script is aimed at compiling vim with minimal installation of CentOS with development tool and WebGUI:

yum groupinstall "Development tools"
yum install ncurses ncurses-devel -y
yum install perl-ExtUtils-Embed -y
yum install python-devel -y
yum install ruby,ruby-devel -y
yum install lua,lua-devel,luajit,luajit-devel -y
cd ~
git clone
cd vim
./configure --with-features=huge \
            --enable-rubyinterp \
            --enable-largefile \
            --disable-netbeans \
            --enable-pythoninterp \
            --enable-perlinterp \
            --enable-luainterp \
            --with-luajit \
              --enable-gui=auto \
            --enable-fail-if-missing \
            --enable-cscope \
make VIMRUNTIMEDIR=/usr/share/vim/vim80
make install
git clone ~/.vim/bundle/Vundle.vim
cd ~
wget -O .vimrc
mkdir /usr/share/vim/vim80
mkdir /usr/share/vim/vim80/syntax
ln -s /usr/local/share/vim/vim80/syntax/syntax.vim /usr/share/vim/vim80/syntax/syntax.vim
comments powered by Disqus