So I have this dream, right: I’m doing incredible wizardry in PHP, in vim, and every once in a while I’d want to press some fancy button combination (the longer the better) to be able to navigate through the file, not in boring, line-by-line mode, but in a magnificent overview mode. Feast my eyes on a tree-like list of classes, methods, functions, variables and other wonders of code. Jump from function to function in sheer merriment.
Know ye a way to fulfill my desires?
Sort of like any file structure dialog/view in any arbitrary IDE. Anything?
This is reminiscent of ack and Ack.vim regarding jumping to functions amongst many files. There’s also FuzzyFinder or command-t or NERDTree for file browsing and Taglist for source code browsing. You can also use
:help foldmethodto fold all the functions and see them in a “tree-like” fashion that’s expandable. Get familiar withgfand* or #to jump around between files and variables.