ctags installed on my
I have the following mappings in my
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 back
:tprevwhen there are multiple matching tags, or
:tselectfor a menu