OFFERINGS

by Steve Dondley

⬅ Notes listing

Author's note: The note below is part of a digital garden. Therefore, it is likely incomplete, inaccurate or both. In other words, it's just like other information sources but perhaps to a higher degree. That said, it may still be worth exploring.

Learning ctags

  

Notes compiled from various source to help learn what ctags are and how to use them in vim with a particular current interest in using them with vimwiki.

From wiki and other sources

What are they?

  • a programming tool
  • generates an index file
    • contains names found in source and header files in code
    • What are “names,” exactly?
  • the tags in the index file allow definition to be found quickly

History

The original Ctags was introduced in BSD Unix 3.0 and was written by Ken Arnold, with Fortran support by Jim Kleckner and Pascal support by Bill Joy. It is part of the initial release of Single Unix Specification and XPG4 of 1992.

BSD Unix 3 was released in ‘79?

  • other related terms
    • “exuberant ctags” - Exuberant Ctags, written and maintained by Darren Hiebert until 2009,[2] was initially distributed with Vim, but became a separate project upon the release of Vim 6. It includes support for Emacs and etags compatibility.[3][4]

Questions

  • Are ctags useful for vimwiki?
  • Are ctags useful for text documents?
    • Not sure
  • What’s the proper capitalization of “ctags?” *Ctags Tutorial]( Ctags or ctags?
  • What is difference between “exuberant” ctags and plain old ctags?
  • Are they useful for my perl modules?

Ctags tutorial

  • Notes below from Ctags Tutorial
  • ctags is tool that makes it easier to navigate large source code projects
  • can be used to find linux kernel files
  • ctags has a command on command line:
  • run command:
    • ctags -R *
    • to search for a specific tag:
      • vim -t

Other notes linking here:

vim


View the edit history