Vim Recall繁體中文

Show the location lists

:lhistory

Example

Normal 0 / 3

Show the location lists.

Location list · Second diagnostics

1 · gamma.txt:2 Active
newer issue

Command output

Empty
Before & after

Before

Location list · Second diagnostics

1 · gamma.txt:2 Active
newer issue

Command output

Empty

After

Location list · Second diagnostics

1 · gamma.txt:2 Active
newer issue

Command output

error list 1 of 2; 3 errors     Example diagnostics
> error list 2 of 2; 1 errors     Second diagnostics

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.

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

Example replayed in Vim

Show the location lists. 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 :lhi[story] 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.