我在哪里可以找到Vim`tags`选项的完整参考?
我看到了两个关于设置Vim的我在哪里可以找到Vim`tags`选项的完整参考?,vim,ctags,Vim,Ctags,我看到了两个关于设置Vim的标记的答案 它开始从当前目录中查找标记文件 并向上搜索目录树,直到找到一个。命令看起来像 这个 下面是关于它的帖子 此语法使用分号来建立某种类型的 要搜索的目录(即以当前目录开始,以 根目录) 事实上,在对答案的第一个链接的评论中,有一个 评论说, 如果转到根目录,您甚至不需要/。只是就足够了 这些东西都记录在哪里了?我查找了:help'标签,找到了 这些都没有提到 *'tags'* *'tag'* *E433*
标记的答案
它开始从当前目录中查找标记
文件
并向上搜索目录树,直到找到一个。命令看起来像
这个
下面是关于它的帖子
此语法使用分号来建立某种类型的
要搜索的目录(即以当前目录开始,以
根目录)
事实上,在对答案的第一个链接的评论中,有一个
评论说,
如果转到根目录,您甚至不需要/
。只是代码>就足够了
这些东西都记录在哪里了?我查找了:help'标签
,找到了
这些都没有提到
*'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的标签一起使用
选项
在哪里可以找到我可以使用Vim的标签选项的所有技巧的完整参考
从:帮助“标记”
:
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|.
|文件搜索]
是一个标记,按其上的
可查找有关
“*”、“**”和其他通配符
"*", "**" and other wildcards can be used to search for tags files in
a directory tree. See |file-searching|.