安装 vim 7.4python
cd ~ hg clone https://code.google.com/p/vim/ 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-cscope --prefix=/usr make VIMRUNTIMEDIR=/usr/share/vim/vim74 sudo make install
编译的过程当中,可能会遇到一些问题。所以须要咱们提早将将src目录下的os_unix.h
中加上git
#include <AvailabilityMacros.h>
参考:个人 vim 配置github
可能遇到的问题:vim
ycm_client_support.[so|pyd|dll] and ycm_core.[so|pyd|dll] not detected; you need to compile YCM before using it.
须要到~/.vim/bundle/YouCompleteMe
目录下,执行:ruby
./install.sh --clang-completer