Load file with error messages and jump to first
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Load file with error messages and jump to first.
Quickfix · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command entered · ready to apply
Quickfix · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Load file with error messages and jump to first
Quickfix · :cfile errors.txt
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Before & after
Before
Quickfix · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
After
Quickfix · :cfile errors.txt
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Start in Normal mode. Diagnostics are prepared with literal entries referring only to temporary example files. The list panel shows its actual selected entry and contents.
alpha one
alpha two
alpha threeCursor on line 1, column 1Details & Vim help
Example replayed in Vim
Load file with error messages and jump to first. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :cf[ile] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.