Get ctags in vim to go to definition, not declaration
问题 I'm having the problem that ctags in vim/gvim takes me to a forward declaration a lot of times instead of to the actual definition of the function. Any way to get around that? 回答1: I think that the easiest way is to use "g ctrl-]" instead of just "ctrl-]". If there is only one match, it will take you there. If there are multiple matches, it will list them all, letting you choose the one you want, just like :tselect. The best of both worlds. :) 回答2: You should be able to use tn and tp to jump