Vim RecallEnglish

為指定目錄產生說明標籤

:helptags

範例

一般模式 0 / 2

為指定目錄產生說明標籤。

已準備完成文件

doc/demo.txt
*demo-topic* DemoNeedle: a tiny example help topic.
doc/tags
不存在
操作前後

操作前

已準備完成文件

doc/demo.txt
*demo-topic* DemoNeedle: a tiny example help topic.
doc/tags
不存在

操作後

產生的說明標籤

doc/demo.txt
*demo-topic* DemoNeedle: a tiny example help topic.
doc/tags
demo-topic demo.txt /*demo-topic*

依 Vim 文件示範。/example/runtime/doc 存在、可寫入,且僅包含此 UTF-8 說明檔案,其中具有一個唯一標籤。:helptags 掃描文件中的星號標籤,並產生將 demo-topic 對應到 demo.txt 的索引。主要說明::helptags。

範例緩衝區
*demo-topic*
DemoNeedle: a tiny example help topic.
游標位於第 1 行,第 1 欄
詳細說明與 Vim 文件

本例輸入 :helptags /example/runtime/doc 後按 Enter。可簡寫為 :helpt。