Installing Vim by building from the source needs bunch of dependancies.
yum -y groupinstall "Development Tools"
yum -y install ncurses-devel git-core
git clone https://github.com/vim/vim && cd vim
Configure 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=yes
make && sudo make install
vim --version