Vim RecallEnglish

對選取範圍執行 'keywordprg'

K

範例

視覺模式 0 / 1
help
游標位於第 1 行,第 4 欄 · 字元選取

對選取範圍執行 'keywordprg'。

已準備的關鍵字查詢

keywordprg
:help
關鍵字
help
操作前後
操作前
help
游標位於第 1 行,第 4 欄 · 字元選取

已準備的關鍵字查詢

keywordprg
:help
關鍵字
help
操作後
			*help* *<Help>* *:h* *:help* *<F1>* *i_<F1>* *i_<Help>*
<Help>		or
:h[elp]			Open a window and display the help file in read-only
			mode.
游標位於第 1 行,第 25 欄

已準備的關鍵字查詢

keywordprg
:help
關鍵字
help

唯讀說明摘錄

			*help* *<Help>* *:h* *:help* *<F1>* *i_<F1>* *i_<Help>*
<Help>		or
:h[elp]			Open a window and display the help file in read-only
			mode.
主題
help
游標
從節錄開頭算起,位移為 3,位於 *help* 上

視窗示意

helphelp.txt 使用中
唯讀說明主題節錄
example.txt
原始文字

操作示意。已設定 keywordprg=:help、helplang=en 和 nosplitbelow。目前沒有說明視窗,視窗也有足夠空間分割出說明視窗。選取單行文字 help。開頭的冒號將查詢導向 Vim 說明,而不啟動外部程式。結果顯示從說明標籤開始的說明摘要,而非完整的說明緩衝區。其游標偏移是相對於該摘要。

詳細說明與 Vim 文件

在視覺模式依範例輸入 K。對選取範圍執行 'keywordprg'。