首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Vim手册*label*中,星号引用的标签是什么意思

在Vim手册*label*中,星号引用的标签是什么意思
EN

Stack Overflow用户
提问于 2014-03-14 20:05:04
回答 1查看 45关注 0票数 0

例如,在this manual中,您将在开头看到:

代码语言:javascript
复制
Table Of Contents                 *user-manual*

在整本手册中有许多像*user-manual*这样的星号引用文本。他们是什么?它们是超链接跳转的锚点吗?

EN

回答 1

Stack Overflow用户

发布于 2014-03-14 20:13:34

如果您在vim中打开文件类型为HELP的文档,您将不会看到这些*|

代码语言:javascript
复制
:h help-writing

在标签部分:

代码语言:javascript
复制
To define a help tag, place the name between asterisks (*tag-name*). 
The tag-name should be different from all the Vim help tag names and
ideally should begin with the name of the Vim plugin.  The tag name is
usually right aligned on a line.

基本上,标记使其更容易跳转到。

你可以尝试一下,当你的光标在|foo|上时,按下ctrl-],你会跳到tag *foo*。要跳回原始位置,请按ctrl-t键。很不错不是吗?

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22404507

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档