Reputation: 6186
I am using vim with taglist plugin. But when open taglist everytime, it displays fields and method. But i don't care the fields in this class, i just want to just select a method and jump to it. Using search such as /method
can actually solve this problem. But i think there must be better solution.
Thanks
Upvotes: 1
Views: 116
Reputation: 393114
Edit straight from the docs (taglist.txt):
For example, to list only the classes and functions defined in a C++ language file, add the following line to your .vimrc file:
let tlist_cpp_settings = 'c++;c:class;f:function'
This configures taglist to pass certain options to ctags, e.g.
ctags --c++-kinds=+p --fields=+iaS --extra=+q
You could you --list-kinds
to find out which kinds you want included.
Upvotes: 4