Vim RecallEnglish

載入含錯誤訊息的檔案

:cgetfile

範例

一般模式 0 / 2

載入含錯誤訊息的檔案。

Quickfix 清單 · 範例診斷

1 · alpha.txt:1 使用中
first issue
2 · alpha.txt:3
second issue
3 · beta.txt:2
third issue
操作前後

操作前

Quickfix 清單 · 範例診斷

1 · alpha.txt:1 使用中
first issue
2 · alpha.txt:3
second issue
3 · beta.txt:2
third issue

操作後

Quickfix 清單 · :cgetfile errors.txt

1 · alpha.txt:1 使用中
first issue
2 · alpha.txt:3
second issue
3 · beta.txt:2
third issue

從一般模式開始。診斷清單只列出暫存的範例檔案。面板會標出目前選取的項目。

範例緩衝區
alpha one
alpha two
alpha three
游標位於第 1 行,第 1 欄
詳細說明與 Vim 文件

範例已在 Vim 重播驗證

本例輸入 :cgetfile errors.txt 後按 Enter。可簡寫為 :cg。