Vim RecallEnglish

解析錯誤訊息並跳至第一個錯誤

:cbuffer

範例

一般模式 0 / 2
alpha.txt:1:first issue
alpha.txt:3:second issue
beta.txt:2:third issue
游標位於第 3 行,第 1 欄

解析錯誤訊息並跳至第一個錯誤。

Quickfix 清單 · 範例診斷

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

視窗

視窗 1 · errors.txt 使用中
80 欄 × 23 行

緩衝區

2 · alpha.txt
已載入 · 已列出 · 替代緩衝區 · alpha one ↩ alpha two
3 · beta.txt
未載入 · 未列出
4 · errors.txt 使用中
已載入 · 已列出 · alpha.txt:1:first issue ↩ alpha.txt:3:second issue
操作前後
操作前
alpha.txt:1:first issue
alpha.txt:3:second issue
beta.txt:2:third issue
游標位於第 3 行,第 1 欄

Quickfix 清單 · 範例診斷

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

視窗

視窗 1 · errors.txt 使用中
80 欄 × 23 行

緩衝區

2 · alpha.txt
已載入 · 已列出 · 替代緩衝區 · alpha one ↩ alpha two
3 · beta.txt
未載入 · 未列出
4 · errors.txt 使用中
已載入 · 已列出 · alpha.txt:1:first issue ↩ alpha.txt:3:second issue
操作後
alpha one
alpha two
alpha three
游標位於第 1 行,第 1 欄

Quickfix 清單 · :cbuffer (errors.txt)

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

視窗

視窗 1 · alpha.txt 使用中
80 欄 × 23 行

緩衝區

2 · alpha.txt 使用中
已載入 · 已列出 · alpha one ↩ alpha two
3 · beta.txt
未載入 · 未列出
4 · errors.txt
已載入 · 已列出 · 替代緩衝區 · alpha.txt:1:first issue ↩ alpha.txt:3:second issue

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

詳細說明與 Vim 文件

範例已在 Vim 重播驗證

本例輸入 :cbuffer 後按 Enter。可簡寫為 :cb。