3

On the Geany editor there is symbol tab which when you pass one C program to Geany it shows all functions and classes and variables and macros in the list . So is there any ability like that in VIM? If you have no the idea about symbol in the Geany look here.

Mohammad Reza Rezwani
  • 10,286
  • 36
  • 92
  • 128

2 Answers2

2

The word you are searching for is called Outline in Eclipse, Navigator in Netbeans and Source Code Browser in Gedit.
A common program that creates this tree is CTAGS. The most common used is exuberant CTAGS http://ctags.sourceforge.net/. It does support 41 languages including C.

Here a tutorial how to combine it with vim:
http://andrew.stwrt.ca/posts/vim-ctags
or some tips and tricks on stackoverflow:
https://stackoverflow.com/questions/563616/vim-and-ctags-tips-and-tricks

Rufus_12
  • 410
2

You might be looking for the Tagbar plugin. Or Tag List, which is a bit older and less maintained I think.

kraxor
  • 5,527