在 Vim 上安装使用 Tagbar

git clone https://github.com/mozilla/doctorjs.git –recursive cd doctorjs sudo make install

会提示将 NODE\nPATH 加入到环境变量 ~/.bash\nprofile :

export NODE\nPATH=/usr/local/lib/jsctags/:\nNODE\nPATH

See Also

\n Tagbar \n Support for additional filetypes \n Vim学习 Jsctags \n Doctor.js \n jsctags. \n .ctags \n Awesome vim support for javascript with jsctags and taglist\nplus \n 更好的用vim浏览Javascript代码

大纲