Jump to function definition in vim

后端 未结 11 2611
独厮守ぢ
独厮守ぢ 2020-11-27 08:53

How can I jump to to a function definition using vim? For example with Visual Assist, I can type Alt+g under a function and it opens a context menu lis

11条回答
  •  粉色の甜心
    2020-11-27 09:44

    To second Paul's response: yes, ctags (especially exuberant-ctags (http://ctags.sourceforge.net/)) is great. I have also added this to my vimrc, so I can use one tags file for an entire project:

    set tags=tags;/
    

提交回复
热议问题