Show location list entries
Example
Normal 0 / 3Command-line 1 / 3Hit-enter prompt 2 / 3Normal 3 / 3Show location list entries.
Location list · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command output
Empty
Command entered · ready to apply
Location list · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command output
Empty
Command submitted · output shown · press Enter to acknowledge
Location list · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command output
1 alpha.txt:1 col 1: first issue 2 alpha.txt:3 col 1: second issue 3 beta.txt:2 col 1: third issue
Output acknowledged · returned to Normal mode
Location list · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command output
1 alpha.txt:1 col 1: first issue 2 alpha.txt:3 col 1: second issue 3 beta.txt:2 col 1: third issue
Before & after
Before
Location list · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command output
Empty
After
Location list · Example diagnostics
- 1 · alpha.txt:1 Active
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
Command output
1 alpha.txt:1 col 1: first issue 2 alpha.txt:3 col 1: second issue 3 beta.txt:2 col 1: 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. Prepared terminal: 80 columns by 24 rows, cmdheight=1 and nomore. Submit the command with the first Enter; output waits at hit-enter. Press the second Enter to acknowledge and return to Normal mode.
alpha one
alpha two
alpha threeCursor on line 1, column 1Details & Vim help
Example replayed in Vim
Show location list entries. 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 :lli[st] 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. Use the current window's location list. Normally, list valid entries. Add ! to include invalid entries too. If none of the entries are valid, Vim displays every entry even without !. Optional from/to entry numbers limit the inclusive list-index range; negative numbers count backward from the end. +{count} lists from the current entry through that many following list positions, with the same validity filter.