Ctags

From Colettapedia
Jump to navigation Jump to search

Installation

  1. Download the latest version of "exuberant" ctags
  2. ./configure, make, sudo make install
  3. sudo rm /usr/bin/ctags
  4. sudo rm /usr/share/man1/ctags.1
  5. sudo ln -s /usr/local/bin/ctags /usr/bin/ctags

Run

  • ctags -R --verbose *
    • -R = recurse

ctags with vim

  • directions
  • Ctrl-] - jump to definition
  • Ctrl-t - jump to implementation