CTags Help

tags help

g]             Like CTRL-], but use ":tselect" instead of ":tag"

tag-prioirity

When there are multiple matches for a tag, this priority is used:
1. "FSC"  A full matching static tag for the current file.
2. "F C"  A full matching global tag for the current file.
3. "F  "  A full matching global tag for another file.
4. "FS "  A full matching static tag for another file.
5. " SC"  An ignore-case matching static tag for the current file.
6. "  C"  An ignore-case matching global tag for the current file.
7. "   "  An ignore-case matching global tag for another file.
8. " S "  An ignore-case matching static tag for another file.

Include file searches

These commands look for a string in the current file and in all encountered included files (recursively).
This can be used to find the definition of a variable, function or macro.
These commands are not available when the +find_in_path feature was disabled at compile time.
The commands that start with "[" start searching from the start of the current file. The commands
that start with "]" start at the current cursor position.

[i            Display the first line that contains the keyword under the cursor. The search starts at the
              beginning of the file. Lines that look like a comment are ignored (see 'comment' option).
              If a count is given, the count'th matching line is diplayed, and comment lines are not ignored.
              
]i            like "[i", but start at the current cursor position.

[I            Display all lines that contain the keyword under the cursor.

]I [ CTRL-I ] CTRL-I

[d            Display the first macro definition that contains the macro under the cursor.
]d [D ]D [ CTRL-D  ] CTRL-D

原文地址:https://www.cnblogs.com/anyboo/p/15742402.html