Installing Vim by building from the source needs bunch of dependancies.
yum -y groupinstall "Development Tools"
yum -y install ncurses-devel git-coregit clone https://github.com/vim/vim && cd vimConfigure to provide a comprehensive vim; You can skip this step and go straight to make which will configure, compile and link with defaults.
./configure --prefix=/usr --with-features=huge --enable-multibyte --with-python-config-dir=/usr/lib/python2.7/config --enable-pythoninterp=yesmake && sudo make installvim --version