The tag stack is created by all your "jump to definition". Each time you do <C-]>
, the tag you jump to is added to the tag stack and you are able to use <C-t>
or :pop
to jump back to the previous tag in the tag stack or :tag
to go the other way. Both :tag
and :pop
take an optional count so :5pop
would go to the fifth previous tag.
See :help tagstack
.