Home Explore Blog CI



neovim

4th chunk of `runtime/doc/tagsrch.txt`
8f74e0071b785457606fa10920ed54610a16f3f1ad123f620000000100000fa2
 in the tags file(s).
			When [name] is not given, the last tag name from the
			tag stack is used.
			See |tag-!| for [!].
			With a '>' in the first column is indicated which is
			the current position in the list (if there is one).
			[name] can be a regexp pattern, see |tag-regexp|.
			See |tag-priority| for the priorities used in the
			listing.
			Example output:

>
	  # pri kind tag		file
	  1 F	f    mch_delay		os_amiga.c
			mch_delay(msec, ignoreinput)
	> 2 F	f    mch_delay		os_msdos.c
			mch_delay(msec, ignoreinput)
	  3 F	f    mch_delay		os_unix.c
			mch_delay(msec, ignoreinput)
	Type number and <Enter> (empty cancels):
<
			See |tag-priority| for the "pri" column.  Note that
			this depends on the current file, thus using
			":tselect xxx" can produce different results.
			The "kind" column gives the kind of tag, if this was
			included in the tags file.
			The "info" column shows information that could be
			found in the tags file.  It depends on the program
			that produced the tags file.
			When the list is long, you may get the |more-prompt|.
			If you already see the tag you want to use, you can
			type 'q' and enter the number.

							*:sts* *:stselect*
:sts[elect][!] [name]	Does ":tselect[!] [name]" and splits the window for
			the selected tag.

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

							*v_g]*
{Visual}g]		Same as "g]", but use the highlighted text as the
			identifier.

							*:tj* *:tjump*
:tj[ump][!] [name]	Like ":tselect", but jump to the tag directly when
			there is only one match.

							*:stj* *:stjump*
:stj[ump][!] [name]	Does ":tjump[!] [name]" and splits the window for the
			selected tag.

							*g_CTRL-]*
g CTRL-]		Like CTRL-], but use ":tjump" instead of ":tag".

							*v_g_CTRL-]*
{Visual}g CTRL-]	Same as "g CTRL-]", but use the highlighted text as
			the identifier.

							*:tn* *:tnext*
:[count]tn[ext][!]	Jump to [count] next matching tag (default 1).  See
			|tag-!| for [!].

								*]t*
]t			Mapped to |:tnext|. |default-mappings|

							*:tp* *:tprevious*
:[count]tp[revious][!]	Jump to [count] previous matching tag (default 1).
			See |tag-!| for [!].

								*[t*
[t			Mapped to |:tprevious|. |default-mappings|

							*:tN* *:tNext*
:[count]tN[ext][!]	Same as ":tprevious".

							*:tr* *:trewind*
:[count]tr[ewind][!]	Jump to first matching tag.  If [count] is given, jump
			to [count]th matching tag.  See |tag-!| for [!].

								*[T*
[T			Mapped to |:trewind|. |default-mappings|

							*:tf* *:tfirst*
:[count]tf[irst][!]	Same as ":trewind".

							*:tl* *:tlast*
:tl[ast][!]		Jump to last matching tag.  See |tag-!| for [!].

								*]T*
]T			Mapped to |:tlast|. |default-mappings|

							*:lt* *:ltag*
:lt[ag][!] [name]	Jump to tag [name] and add the matching tags to a new
			location list for the current window.  [name] can be
			a regexp pattern, see |tag-regexp|.  When [name] is
			not given, the last tag name from the tag stack is
			used.  The search pattern to locate the tag line is
			prefixed with "\V" to escape all the special
			characters (very nomagic). The location list showing
			the matching tags is independent of the tag stack.
			See |tag-!| for [!].

When there is no other message, Vim shows which matching tag has been jumped
to, and the number of matching tags: >
	tag 1 of 3 or more
The " or more" is used to indicate that Vim didn't try all the tags files yet.
When using ":tnext" a few times, or with ":tlast", more matches may be found.

When you didn't see this message because of some other message, or you just
want to know where you are, this command will show it again (and jump to the
same tag as last time): >
	:0tn
<
							*tag-skip-file*
When a matching tag is found for which the file doesn't exist, this match is
skipped and the next matching tag is used.  Vim reports this, to notify you of
missing files.  When the end of the list of matches has been reached, an error
message is given.

							*tag-preview*
The tag match

Title: Tag Selection and Navigation Commands in Vim
Summary
This section details the various commands available in Vim for selecting and navigating through tag match lists. It describes commands such as `:tselect` (`:ts`), `:stselect` (`:sts`), `g]`, `:tjump` (`:tj`), `:stjump` (`:stj`), `g CTRL-]`, `:tnext` (`:tn`), `:tprevious` (`:tp`), `:tN`, `:trewind` (`:tr`), `:tfirst` (`:tf`), `:tlast` (`:tl`), and `:ltag` (`:lt`). It explains their behavior, including how they handle multiple matches, how they interact with the tag stack, and how they can be used with visual selections. It also mentions the `:0tn` command to show the current tag match position and the skipping of non-existent files during tag matching. The tag match