2011-04-07 35 views

回答

8

有在幫助專用於該主題的一個部分:「寫作幫助文件」

: help help-writing:help helphelp.txt

摘錄:

TAGS 


To define a help tag, place the name between asterisks (*tag-name*). 

(...) 

When referring to an existing help tag and to create a hot-link, place the 
name between two bars (|) eg. |help-writing|. 

如需更多信息,請閱讀前面提到的幫助文件。

3

Vim的幫助文件運行文本中存在在$ VIMRUNTIME/doc的,所以如果你查看這些文件並設置

set syntax=off 

這會給你一個標記的想法。基本上,你在管道括起來創建鏈接:

go to a link |here| 

將跳轉到雙星號鏈接文字的出現,即*here*

然後你只需要爲您的文件,您可以用自動命令實現做

set filetype=help 

1

它需要運行命令:

:helpt[ags] {dir} 

創建文件後,生成新的標籤。詳情可查詢:

:help helpt 
相關問題