Vim RecallEnglish

類似 :helpgrep,但使用位置清單

:lhelpgrep

範例

一般模式 0 / 2
alpha
beta
gamma
游標位於第 1 行,第 1 欄

類似 :helpgrep,但使用位置清單。

操作前後
操作前
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。

詳細說明與 Vim 文件

本例輸入 :lhelpgrep DemoNeedle 後按 Enter。可簡寫為 :lh。