類似 :helpgrep,但使用位置清單
:lhelpgrep
範例
一般模式 0 / 2命令列模式 1 / 2一般模式 2 / 2alpha
beta
gamma游標位於第 1 行,第 1 欄alpha
beta
gamma游標位於第 1 行,第 1 欄*demo-topic*
DemoNeedle: a tiny example help topic.游標位於第 2 行,第 1 欄類似 :helpgrep,但使用位置清單。
指令已輸入。按 Enter 執行。
命令列
- 輸入的文字
:lhelpgrep DemoNeedle- 插入偏移量
21
:lhelpgrep 會找到唯一匹配的說明行並跳轉至該處。新的說明文件視窗擁有位置清單,而非原本的編輯視窗。
視窗
- 說明:demo.txt 使用中
*demo-topic* DemoNeedle: a tiny example help topic.
- 原本的緩衝區
alpha beta gamma
說明視窗位置清單
- 1
demo.txt:2: DemoNeedle: a tiny example help topic.
操作前後
alpha
beta
gamma游標位於第 1 行,第 1 欄*demo-topic*
DemoNeedle: a tiny example help topic.游標位於第 2 行,第 1 欄視窗
- 說明:demo.txt 使用中
*demo-topic* DemoNeedle: a tiny example help topic.
- 原本的緩衝區
alpha beta gamma
說明視窗位置清單
- 1
demo.txt:2: DemoNeedle: a tiny example help topic.
依 Vim 文件示範。+quickfix 與未壓縮的說明。runtimepath 僅包含此小型說明 runtime,無其他 DemoNeedle 匹配。無現存說明視窗,足夠的分割空間且 nosplitbelow。:lhelpgrep 會找到唯一匹配的說明行並跳轉至該處。新的說明文件視窗擁有位置清單,而非原本的編輯視窗。主要說明::lhelpgrep。