Vim Recall繁體中文

Move to newer location list

:lnewer

Example

Normal 0 / 2

Move to newer location list.

Location list · Example diagnostics

1 · alpha.txt:1 Active
first issue
2 · alpha.txt:3
second issue
3 · beta.txt:2
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

After

Location list · Second diagnostics

1 · gamma.txt:2 Active
newer 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. The ruler option is off (noruler), leaving enough command-line space for this example's status message in an 80-column terminal.

Sample buffer
alpha one
alpha two
alpha three
Cursor on line 1, column 1
Details & Vim help

Example replayed in Vim

Move to newer 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 :lnew[er] 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.