How to navigate multiple ctags matches in Vim?

前端 未结 4 1142
暖寄归人
暖寄归人 2021-01-30 16:11

I\'m using Ctrl-] in Vim to navigate using Ctags. How do I navigate to alternate file if there are multiple matches?

Ex. something.publish

4条回答
  •  春和景丽
    2021-01-30 16:27

    :tn[ext] goes to the next tag, :tp[revious] goes to the previous one. :ts[elect] gives you a list to choose from.

    :help tag-matchlist for more fun and exciting things to try!

提交回复
热议问题