How to make vim go to the first tag by default

I work at Red Hat. I found that Vim on this OS will not jump to the first default tag at runtime :ta foo.

For example, there are several tags named "foo". And now I entered :ta foo, it will appear just like :ts foo. Therefore, every time I have to enter q 1, to go to the first. This seems rather uncomfortable. Can i change it?

+3
source share
1 answer

I noticed that the next parameter in my .vimrc does not allow me to jump to the first tag.

set cscopetag

+3
source

All Articles