Search code examples
vimidectags

VIM: How to move between matching tags?


I'm a big fan of ctags, but sometimes it is hard to use it.

In case when I have a few declaration of the functions with the same name - "ctrl + ]" throws you to the first occurrence - which is not always what I need.

How can I see the full list of matching tags so I can choose which one to open?


Solution

  • Using gCtrl] instead of Ctrl] will show you a list of tags if there is more than one that matches the word under the cursor.