I have ctags
installed on my Windows
machine.
I have the following mappings in my vimrc
file
set tags=./tags;/
nnoremap <F5> :!ctags -R .<CR>
nnoremap ,dd :exec("tag ".expand("<cword>"))<CR>
I'm trying to navigate a big project which has many classes. There are many functions that have the same name but defined in different classes.
It happens a lot that when trying to jump to the funtion's definition, it jumps to a function defintion but in a different class. As I'm new to the project, I may not recognize that this is not the right function's definition every time.
Is there a way to make jumping to function's definition smarter that it jumps to the function's definition in the right class?
C-]
and to jump backC-t
:tnext
/:tprev
when there are multiple matching tags, or:tselect
for a menu