标签:
git clone https://github.com/wklken/k-vim.git
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
若pip安装没有安装,先安装
sudo yum -y install epel-release
yum -y install python-pip
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
参照(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
如果提configure时提示缺少终端库,安装:
yum install ncurses-libs
yum install ncurses-devel
cd k-vim/ sh install.sh
感谢wklken的分享
标签:
原文地址:http://www.cnblogs.com/Rsean/p/5635986.html