1- *tagsrch.txt* For Vim version 8.0 . Last change: 2016 Sep 20
1+ *tagsrch.txt* For Vim version 8.1 . Last change: 2018 May 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -36,29 +36,29 @@ An easy way back is with the CTRL-T command. Also read about the tag stack
3636below.
3737
3838 *:ta* *:tag* *E426* *E429*
39- :[count] ta[g][!] {ident }
40- Jump to the definition of {ident } , using the
41- information in the tags file(s). Put {ident } in the
39+ :[count] ta[g][!] {name }
40+ Jump to the definition of {name } , using the
41+ information in the tags file(s). Put {name } in the
4242 tag stack. See | tag-! | for [!].
43- {ident } can be a regexp pattern, see | tag-regexp | .
44- When there are several matching tags for {ident } , jump
43+ {name } can be a regexp pattern, see | tag-regexp | .
44+ When there are several matching tags for {name } , jump
4545 to the [count] one. When [count] is omitted the
4646 first one is jumped to. See | tag-matchlist | for
4747 jumping to other matching tags.
4848
4949g<LeftMouse> *g<LeftMouse>*
5050<C-LeftMouse> *<C-LeftMouse>* *CTRL-]*
5151CTRL-] Jump to the definition of the keyword under the
52- cursor. Same as ":tag {ident } ", where {ident } is the
52+ cursor. Same as ":tag {name } ", where {name } is the
5353 keyword under or after cursor.
54- When there are several matching tags for {ident } , jump
54+ When there are several matching tags for {name } , jump
5555 to the [count] one. When no [count] is given the
5656 first one is jumped to. See | tag-matchlist | for
5757 jumping to other matching tags.
5858 {Vi: identifier after the cursor}
5959
6060 *v_CTRL-]*
61- {Visual}CTRL-] Same as ":tag {ident } ", where {ident } is the text that
61+ {Visual}CTRL-] Same as ":tag {name } ", where {name } is the text that
6262 is highlighted. {not in Vi}
6363
6464 *telnet-CTRL-]*
@@ -82,7 +82,7 @@ When there are multiple matches for a tag, this priority is used:
8282
8383Note that when the current file changes, the priority list is mostly not
8484changed, to avoid confusion when using ":tnext". It is changed when using
85- ":tag {ident } ".
85+ ":tag {name } ".
8686
8787The ignore-case matches are not found for a ":tag" command when:
8888- the 'ignorecase' option is off and 'tagcase' is "followic"
@@ -167,7 +167,7 @@ You can get from main to FuncA by using CTRL-] on the call to FuncA. Then
167167you can CTRL-] to get to FuncC. If you now want to go back to main you can
168168use CTRL-T twice. Then you can CTRL-] to FuncB.
169169
170- If you issue a ":ta {ident } " or CTRL-] command, this tag is inserted at the
170+ If you issue a ":ta {name } " or CTRL-] command, this tag is inserted at the
171171current position in the stack. If the stack was full (it can hold up to 20
172172entries), the oldest entry is deleted and the older entries shift one
173173position up (their index number is decremented by one). If the last used
@@ -191,13 +191,14 @@ between them. Note that these commands don't change the tag stack, they keep
191191the same entry.
192192
193193 *:ts* *:tselect*
194- :ts[elect][!] [ident ] List the tags that match [ident ] , using the
194+ :ts[elect][!] [name ] List the tags that match [name ] , using the
195195 information in the tags file(s).
196- When [ident ] is not given, the last tag name from the
196+ When [name ] is not given, the last tag name from the
197197 tag stack is used.
198+ See | tag-! | for [!].
198199 With a '>' in the first column is indicated which is
199200 the current position in the list (if there is one).
200- [ident ] can be a regexp pattern, see | tag-regexp | .
201+ [name ] can be a regexp pattern, see | tag-regexp | .
201202 See | tag-priority | for the priorities used in the
202203 listing. {not in Vi}
203204 Example output:
@@ -225,7 +226,7 @@ the same entry.
225226 type 'q' and enter the number.
226227
227228 *:sts* *:stselect*
228- :sts[elect][!] [ident ] Does ":tselect[!] [ident ] " and splits the window for
229+ :sts[elect][!] [name ] Does ":tselect[!] [name ] " and splits the window for
229230 the selected tag. {not in Vi}
230231
231232 *g]*
@@ -237,11 +238,11 @@ g] Like CTRL-], but use ":tselect" instead of ":tag".
237238 identifier. {not in Vi}
238239
239240 *:tj* *:tjump*
240- :tj[ump][!] [ident ] Like ":tselect", but jump to the tag directly when
241+ :tj[ump][!] [name ] Like ":tselect", but jump to the tag directly when
241242 there is only one match. {not in Vi}
242243
243244 *:stj* *:stjump*
244- :stj[ump][!] [ident ] Does ":tjump[!] [ident ] " and splits the window for the
245+ :stj[ump][!] [name ] Does ":tjump[!] [name ] " and splits the window for the
245246 selected tag. {not in Vi}
246247
247248 *g_CTRL-]*
@@ -276,9 +277,9 @@ g CTRL-] Like CTRL-], but use ":tjump" instead of ":tag".
276277 in Vi}
277278
278279 *:lt* *:ltag*
279- :lt[ag][!] [ident ] Jump to tag [ident ] and add the matching tags to a new
280- location list for the current window. [ident ] can be
281- a regexp pattern, see | tag-regexp | . When [ident ] is
280+ :lt[ag][!] [name ] Jump to tag [name ] and add the matching tags to a new
281+ location list for the current window. [name ] can be
282+ a regexp pattern, see | tag-regexp | . When [name ] is
282283 not given, the last tag name from the tag stack is
283284 used. The search pattern to locate the tag line is
284285 prefixed with "\V" to escape all the special
@@ -310,12 +311,12 @@ the same as above, with a "p" prepended.
310311{not available when compiled without the | +quickfix | feature}
311312
312313 *:pts* *:ptselect*
313- :pts[elect][!] [ident ] Does ":tselect[!] [ident ] " and shows the new tag in a
314+ :pts[elect][!] [name ] Does ":tselect[!] [name ] " and shows the new tag in a
314315 "Preview" window. See | :ptag | for more info.
315316 {not in Vi}
316317
317318 *:ptj* *:ptjump*
318- :ptj[ump][!] [ident ] Does ":tjump[!] [ident ] " and shows the new tag in a
319+ :ptj[ump][!] [name ] Does ":tjump[!] [name ] " and shows the new tag in a
319320 "Preview" window. See | :ptag | for more info.
320321 {not in Vi}
321322
0 commit comments