安装git
1 | fink install git |
然后在终端里输入
1 | cd ~ |
2 | git clone git@github.com:renownedmedia/Vim-PHP-IDE.git .vim |
3 | ln -s ~/.vim/vimrc ~/.vimrc |
4 | cd .vim |
5 | git submodule init |
6 | git submodule update |
下载macvim(61)
https://github.com/b4winckler/macvim
安装Ctags (5.8)
1 | fink install exuberant-ctags-5.8-1 |
安装 Tagbar (2.1)
然后在终端里输入
$ cd ~/.vim
$ git clone git://github.com/majutsushi/tagbar
修改 .vimrc
1 | let g:tagbar_ctags_bin= 'ctags' " Proper Ctags locations |
2 | let g:tagbar_width=26 " Default is 40, seems too wide |
3 | noremap <silent> <Leader>y :TagbarToggle " Display panel with \y ( or ,y) |