参考:http://www.zhihu.com/question/19989337


像我这类懒人一直致力于寻找终极配置.

robbyrussell/oh-my-zsh · GitHub 终结了我的 Shell 配置;

https://github.com/robbyrussell/oh-my-zsh

spf13/spf13-vim 路 GitHub 终结了我的 Vim 配置.

https://github.com/spf13/spf13-vim

出错信息


E484: Can’t open file /usr/local/share/vim/syntax/syntax.vim

export VIMRUNTIME=/usr/local/Cellar/vim/7.4.488/share/vim/vim74
#let $VIMRUNTIME=/usr/local/Cellar/vim/7.4.488/share/vim/vim74
#set runtimepath=/usr/local/Cellar/vim/7.4.488/share/vim/vim74

$ brew link vim

vim syntax


neocomplete does not work with this version of Vim.

It requires Vim 7.3.885 or later with Lua support (“+lua”).

$ vim --version | grep lua
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape

$ brew install vim --with-lua
$ sudo chmod -R g+w /usr/local/
$ brew link lua