Mac 配置 vim
2015-01-23 04:17 Rollen Holt 阅读(841) 评论(0) 收藏 举报Mac 配置 vim
-
安装 vim 7.4
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中加上
include <AvailabilityMacros.h>
- 配置 vim
参考:我的 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目录下,执行:
./install.sh --clang-completer
- 这样应该就 ok 了,如果你的人品不是太差的话。期间缺什么东西,brew install 就好了。
==============================================================================
本博客已经废弃,不在维护。新博客地址:http://wenchao.ren
我喜欢程序员,他们单纯、固执、容易体会到成就感;面对压力,能够挑灯夜战不眠不休;面对困难,能够迎难而上挑战自我。他
们也会感到困惑与傍徨,但每个程序员的心中都有一个比尔盖茨或是乔布斯的梦想“用智慧开创属于自己的事业”。我想说的是,其
实我是一个程序员
==============================================================================
浙公网安备 33010602011771号