Yes, use the tag operation. If you have generated a tags
file of the set of files you are interested in. The ctags
command can generate it for C and C++.
Then, in the source code, position vim's cursor on the symbol to look up and press ctrl-]
character.
===== addendum =====
$ gcc -M > dir_list # list directories which are searched
$ vim dir_list # edit file list to remove at end of line
# and remove the `.o` file listed
$ ctags -L dir_list *.c # examine source files for symbols
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…