Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM: Browse for symbol? how?

I've looked in several plugins (FuzzyFinder/YouCompleteMe/Command-T/ctags) and they all give me almost what I want... and I'm sure it's in one of them and I cannot find it..

I want is a drop down menu (like command-t.. fuzzyfinder) so I can grep for a specific symbol (even generated by ctags). For example look for class Worker and it would give me all symbols that contain Worker in them.. (functions even etc..)

Anyone? even using YCM's GoToDefenition would work if I could give it input..

Thanks.

like image 211
Alon Avatar asked Oct 16 '25 13:10

Alon


1 Answers

  • FuzzyFinder: :FufTag
  • Command-T: :CommandTTag
  • There's also CtrlP, if you want: :CtrlPTag
  • YouCompleteMe: :YcmCompleter GoToDefinition

:help tags and :help ctags tell you everything you need to know about tags in general and ctags in partular. Which is already a lot, without messing with plugins:

:tag Worker
like image 66
romainl Avatar answered Oct 18 '25 15:10

romainl