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
2
2
3
3
4
4
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
36
36
below.
37
37
38
38
*: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
42
42
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
45
45
to the [count] one. When [count] is omitted the
46
46
first one is jumped to. See | tag-matchlist | for
47
47
jumping to other matching tags.
48
48
49
49
g<LeftMouse> *g<LeftMouse>*
50
50
<C-LeftMouse> *<C-LeftMouse>* *CTRL-]*
51
51
CTRL-] 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
53
53
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
55
55
to the [count] one. When no [count] is given the
56
56
first one is jumped to. See | tag-matchlist | for
57
57
jumping to other matching tags.
58
58
{Vi: identifier after the cursor}
59
59
60
60
*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
62
62
is highlighted. {not in Vi}
63
63
64
64
*telnet-CTRL-]*
@@ -82,7 +82,7 @@ When there are multiple matches for a tag, this priority is used:
82
82
83
83
Note that when the current file changes, the priority list is mostly not
84
84
changed, to avoid confusion when using ":tnext". It is changed when using
85
- ":tag {ident } ".
85
+ ":tag {name } ".
86
86
87
87
The ignore-case matches are not found for a ":tag" command when:
88
88
- 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
167
167
you can CTRL-] to get to FuncC. If you now want to go back to main you can
168
168
use CTRL-T twice. Then you can CTRL-] to FuncB.
169
169
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
171
171
current position in the stack. If the stack was full (it can hold up to 20
172
172
entries), the oldest entry is deleted and the older entries shift one
173
173
position 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
191
191
the same entry.
192
192
193
193
*: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
195
195
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
197
197
tag stack is used.
198
+ See | tag-! | for [!].
198
199
With a '>' in the first column is indicated which is
199
200
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 | .
201
202
See | tag-priority | for the priorities used in the
202
203
listing. {not in Vi}
203
204
Example output:
@@ -225,7 +226,7 @@ the same entry.
225
226
type 'q' and enter the number.
226
227
227
228
*: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
229
230
the selected tag. {not in Vi}
230
231
231
232
*g]*
@@ -237,11 +238,11 @@ g] Like CTRL-], but use ":tselect" instead of ":tag".
237
238
identifier. {not in Vi}
238
239
239
240
*: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
241
242
there is only one match. {not in Vi}
242
243
243
244
*: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
245
246
selected tag. {not in Vi}
246
247
247
248
*g_CTRL-]*
@@ -276,9 +277,9 @@ g CTRL-] Like CTRL-], but use ":tjump" instead of ":tag".
276
277
in Vi}
277
278
278
279
*: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
282
283
not given, the last tag name from the tag stack is
283
284
used. The search pattern to locate the tag line is
284
285
prefixed with "\V" to escape all the special
@@ -310,12 +311,12 @@ the same as above, with a "p" prepended.
310
311
{not available when compiled without the | +quickfix | feature}
311
312
312
313
*: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
314
315
"Preview" window. See | :ptag | for more info.
315
316
{not in Vi}
316
317
317
318
*: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
319
320
"Preview" window. See | :ptag | for more info.
320
321
{not in Vi}
321
322
0 commit comments