1, borrowed from the k-vim of the Wklken great God
git clone https://github.com/wklken/k-vim.git
2, install the necessary package
Yum Install-y python-devel.x86_64
sudo yum groupinstall ' development Tools '
sudo yum install The_silver_searcher
sudo yum install CMake
Pip Install Pyflakes
Pip Install Pylint
Pip Install Pep8
If PIP installation is not installed, first install
sudo yum-y install Epel-release
Yum-y Install Python-pip
3, install the plug-in management tool Vim-plug
Curl-flo ~/.vim/autoload/plug.vim--create-dirs \
Https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
4, install Vim
Reference (Https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source)
1) First, install all the prerequisite libraries
Yum install-y Ruby ruby-devel lua lua-devel luajit \
Luajit-devel ctags git python python-devel \
Python3 Python3-devel tcl-devel \
Perl perl-devel perl-extutils-parsexs \
PERL-EXTUTILS-XSPP perl-extutils-cbuilder \
Perl-extutils-embed
2) Install Vim
CD ~
git clone https://github.com/vim/vim.git
CD VIM
./configure--with-features=huge \
--enable-multibyte \
--ENABLE-RUBYINTERP \
--ENABLE-PYTHONINTERP \
--with-python-config-dir=/usr/lib/python2.7/config \
--ENABLE-PERLINTERP \
--ENABLE-LUAINTERP \
--ENABLE-GUI=GTK2--enable-cscope--PREFIX=/USR
Make Vimruntimedir=/usr/share/vim/vim74
sudo make install
--help
If you are prompted for a missing terminal library when mentioning configure, install:
Yum Install Ncurses-libs
Yum Install Ncurses-devel
5, install K-vim
CD k-vim/sh install.sh
6,
Thank Wklken for sharing
Set up personalized Vim