I have generated tags using ctags -R .
In Vim I'm able to find the tag when I type :tag TagName
and it does jump to it.
However, if I have a cursor over the TagName
and do Ctrl+]
vim shows cstag: tag not found
.
I know indeed the TagName
is in the tags file but why I'm not able to jump with the short-cut key? There are some tags I'm able to jump with Ctrl+]
not sure why. Also I have set tags=~/Mycode/tags
.
set nocscopetag
cscopetag
, it overrides the:tag
commands. You can have both, but you'd have to use the individual commands (:help :cscope
and:help :tag
)