c++ - searching for tags in current directory only -
if have following structure
. ├── main-one │ ├── main.cpp │ └── tags ├── main-two │ ├── main.cpp │ └── tags └── tags 2 directories, 5 files
and in main.cpp
in main-one
folder, suppose want search tag print
, , 2 of them exist, 1 in each main.cpp
file. how can specify maximum depth level of 1
:ta print
function searches in current working directory? maybe interactive tag search?
i ask because trying use ctags
on larger project , ability search common things main
without getting hundreds of results
you can't. :tag foo
jump first foo
in tags
file, no matter (and are) in project.
use :help :tselect
instead.
Comments
Post a Comment