mlsamuelson.com

Tag List Vim plugin - source code browsing

Toggle Tag List window

:TlistToggle

Search for a string in the Tag List just like you would in a regular Vim window

/string_you_want

Select an item in the Tag List by moving the cursor into that item and hitting <ENTER>.

Or, to view more info on the item in the tag list, hit <SPACE>. This works well for seeing function signatures.

Jump from file to file in the tags listing using [[ and ]].

Toggle sorting of tags by their name or the order they appear in the file using s.

Manipulate the folds in the Tag List window using zM (fold all, recursive), zR (unfold all, recursive), zo (open fold under cursor), and zc (close fold under cursor).

If a file isn't in the current buffer, you can add its tags to the Tag List with :TlistAddFiles or recursively with :TlistAddFilesRecursive.

Get help with Taglist

:help taglist

To use this, you need to install Taglist (alternatively Tag List). It requires the Exuberant Ctags program. Find out if you need that with

ctags --version

No comments

Add your comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

User login