1. 先用brew工具安装ctags,安装路径在/user/local/bin The default ctags executable in OSX does not support recursive directory search (i.e. ctags -R). To get a proper copy of ctags, use one of the following options: Using Homebrew: brew install ctags Using MacPort