O'Reilly logo

Hacking Vim 7.2 by Kim Schulz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using tag lists

Tag lists are like a programmer's dictionary. A tag list is actually a file containing all sorts of keywords that can identify parts of a program. It can be function names, variable names, class methods, and so on depending on the programming language that you are using. Tag list files are actually not an output from Vim, but rather an output from one of the several tag list generators. Among these, the best known are as follows:

  • Exuberant Ctags: For C, C++, Java, Perl, Python, Vim, Ruby (and 25 others)
  • Vtags: For Verilog files
  • Jtags: For Java files
  • Hdrtags: For C / C++, Asm, Lex / Yacc, LaTeX, Vim, and Maple
  • Ptags: For Perl files

Because Ctags is absolutely the most used and the one that supports the most languages, it will be the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required