Move to previous entry in location list
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2beta one
beta two
beta threeCursor on line 2, column 1beta one
beta two
beta threeCursor on line 2, column 1alpha one
alpha two
alpha threeCursor on line 3, column 1Move to previous entry in location list.
Location list · Example diagnostics
- 1 · alpha.txt:1
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2 Active
third issue
Windows
- Window 1 · beta.txt Active
80 columns × 23 lines
Buffers
- 2 · alpha.txt
loaded · listed · alternate · alpha one ↩ alpha two- 3 · beta.txt Active
loaded · listed · beta one ↩ beta two
Command entered · ready to apply
Location list · Example diagnostics
- 1 · alpha.txt:1
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2 Active
third issue
Windows
- Window 1 · beta.txt Active
80 columns × 23 lines
Buffers
- 2 · alpha.txt
loaded · listed · alternate · alpha one ↩ alpha two- 3 · beta.txt Active
loaded · listed · beta one ↩ beta two
Move to previous entry in location list
Location list · Example diagnostics
- 1 · alpha.txt:1
first issue- 2 · alpha.txt:3 Active
second issue- 3 · beta.txt:2
third issue
Windows
- Window 1 · alpha.txt Active
80 columns × 23 lines
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
loaded · listed · alternate · beta one ↩ beta two
Before & after
beta one
beta two
beta threeCursor on line 2, column 1Location list · Example diagnostics
- 1 · alpha.txt:1
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2 Active
third issue
Windows
- Window 1 · beta.txt Active
80 columns × 23 lines
Buffers
- 2 · alpha.txt
loaded · listed · alternate · alpha one ↩ alpha two- 3 · beta.txt Active
loaded · listed · beta one ↩ beta two
alpha one
alpha two
alpha threeCursor on line 3, column 1Location list · Example diagnostics
- 1 · alpha.txt:1
first issue- 2 · alpha.txt:3 Active
second issue- 3 · beta.txt:2
third issue
Windows
- Window 1 · alpha.txt Active
80 columns × 23 lines
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
loaded · listed · alternate · beta one ↩ beta two
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.
Details & Vim help
Example replayed in Vim
Move to previous entry in location list. 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 :lN[ext] 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.