Vim安装YouCompletMe插件。

1.Centos7.0自带含有支持python2.x的vim。(:version 后看python+则支持,python-则不支持)若不支持,卸载vim后源码编译安装。

yum install python-devel

./configure  --enable-pythoninterp=yes --with-python-config-dir=/usr/lib64/python2.6/config (为你的python的路径)

安装

2.安装vundle并配置。

http://www.cnblogs.com/junnyfeng/p/3633697.html

3.(这里报错)安装clang,cmake,静态库,python。

yum install clang cmake glibc-static libstdc++-static -y

一定要编译安装python,我用yum的python无法成功,并且要配置

./configure --prefix=/usr/local --enable-share CFLAGS=-fPIC

4. 按提示操作,百度

原文地址:https://www.cnblogs.com/TsAihS/p/5841481.html