我在哪里可以找到 Vim `tags` 选项的完整参考?
Where exactly can I find a complete reference of Vim `tags` option?
我看到两个关于设置 Vim 的 tags
选项的答案
它开始从当前目录中寻找 tags
文件
并向上搜索目录树,直到找到一个。命令看起来像
这个。
set tags=./tags;/
这是谈论它的帖子。
此语法使用分号来建立某种范围
要搜索的目录(即从当前目录开始并以
根目录).
事实上在第一个 link 的答案的评论中,有一个
评论说,
You don't even need /
if you go up to root directory. Just ;
is enough.
所有这些东西都记录在哪里?我抬头 :help 'tags
发现
none 提到了这个。
*'tags'* *'tag'* *E433*
'tags' 'tag' string (default "./tags,tags", when compiled with
|+emacs_tags|: "./tags,./TAGS,tags,TAGS")
global or local to buffer |global-local|
Filenames for the tag command, separated by spaces or commas. To
include a space or comma in a file name, precede it with a backslash
(see |option-backslash| about including spaces and backslashes).
When a file name starts with "./", the '.' is replaced with the path
of the current file. But only when the 'd' flag is not included in
'cpoptions'. Environment variables are expanded |:set_env|. Also see
|tags-option|.
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|. E.g., "/lib/**/tags" will
find all files named "tags" below "/lib". The filename itself cannot
contain wildcards, it is used as-is. E.g., "/lib/**/tags?" will find
files called "tags?". {not available when compiled without the
|+path_extra| feature}
The |tagfiles()| function can be used to get a list of the file names
actually used.
If Vim was compiled with the |+emacs_tags| feature, Emacs-style tag
files are also supported. They are automatically recognized. The
default value becomes "./tags,./TAGS,tags,TAGS", unless case
differences are ignored (MS-Windows). |emacs-tags|
The use of |:set+=| and |:set-=| is preferred when adding or removing
file names from the list. This avoids problems when a future version
uses another default.
{Vi: default is "tags /usr/lib/tags"}
我到底在哪里可以找到我能找到的所有技巧的完整参考
与 Vim?
的 tags
选项一起使用
Where exactly can I find a complete reference of all the tricks I can use with the tags
option of Vim?
来自:help 'tags'
:
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|.
|file-searching]
是一个标签,在上面按<C-]>
可以找到更多关于
的信息
"*", "**" and other wildcards.
我看到两个关于设置 Vim 的 tags
选项的答案
它开始从当前目录中寻找 tags
文件
并向上搜索目录树,直到找到一个。命令看起来像
这个。
set tags=./tags;/
这是谈论它的帖子。
此语法使用分号来建立某种范围 要搜索的目录(即从当前目录开始并以 根目录).
事实上在第一个 link 的答案的评论中,有一个 评论说,
You don't even need
/
if you go up to root directory. Just;
is enough.
所有这些东西都记录在哪里?我抬头 :help 'tags
发现
none 提到了这个。
*'tags'* *'tag'* *E433*
'tags' 'tag' string (default "./tags,tags", when compiled with
|+emacs_tags|: "./tags,./TAGS,tags,TAGS")
global or local to buffer |global-local|
Filenames for the tag command, separated by spaces or commas. To
include a space or comma in a file name, precede it with a backslash
(see |option-backslash| about including spaces and backslashes).
When a file name starts with "./", the '.' is replaced with the path
of the current file. But only when the 'd' flag is not included in
'cpoptions'. Environment variables are expanded |:set_env|. Also see
|tags-option|.
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|. E.g., "/lib/**/tags" will
find all files named "tags" below "/lib". The filename itself cannot
contain wildcards, it is used as-is. E.g., "/lib/**/tags?" will find
files called "tags?". {not available when compiled without the
|+path_extra| feature}
The |tagfiles()| function can be used to get a list of the file names
actually used.
If Vim was compiled with the |+emacs_tags| feature, Emacs-style tag
files are also supported. They are automatically recognized. The
default value becomes "./tags,./TAGS,tags,TAGS", unless case
differences are ignored (MS-Windows). |emacs-tags|
The use of |:set+=| and |:set-=| is preferred when adding or removing
file names from the list. This avoids problems when a future version
uses another default.
{Vi: default is "tags /usr/lib/tags"}
我到底在哪里可以找到我能找到的所有技巧的完整参考 与 Vim?
的tags
选项一起使用
Where exactly can I find a complete reference of all the tricks I can use with the
tags
option of Vim?
来自:help 'tags'
:
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|.
|file-searching]
是一个标签,在上面按<C-]>
可以找到更多关于
"*", "**" and other wildcards.