문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top