解析錯誤訊息並跳至第一個錯誤
:cbuffer
範例
一般模式 0 / 2命令列模式 1 / 2一般模式 2 / 2alpha.txt:1:first issue
alpha.txt:3:second issue
beta.txt:2:third issue游標位於第 3 行,第 1 欄alpha.txt:1:first issue
alpha.txt:3:second issue
beta.txt:2:third issue游標位於第 3 行,第 1 欄alpha one
alpha two
alpha three游標位於第 1 行,第 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
指令已輸入。按 Enter 執行。
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
解析錯誤訊息並跳至第一個錯誤
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
操作前後
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
從一般模式開始。診斷清單只列出暫存的範例檔案。面板會標出目前選取的項目。