thanks http://beiyuu.com/git-vim-tutorial/ too
cd ~/unix_home && sh install.sh
vim
:BundleInstall
:q
"更新插件:
:BundleInstall!
:GoInstallBinaries
"卸载不在列表中的插件:
:BundleClean
C-] - go to definition C-T - Jump back from the definition. C-W C-] - Open the definition in a horizontal split
Add these lines in vimrc map <C-> :tab split:exec("tag ".expand("")) map <A-]> :vsp :exec("tag ".expand(""))
C-\ - Open the definition in a new tab A-] - Open the definition in a vertical split
After the tags are generated. You can use the following keys to tag into and tag out of functions:
Ctrl-Left_MouseClick - Go to definition Ctrl-Right_MouseClick - Jump back from definition