Vim Recall繁體中文

Show the last page of previous command output

g<

Example

Normal 0 / 2

Show the last page of previous command output.

Before & after

Before

After

ILLUSTRATION. A previous :echo 'alpha' command output is prepared and dismissed. more is on, messagesopt=hit-enter,history:500 and English messages are prepared. Retained scrollback contains at least two stored lines, including the :echo command line and alpha output, and no later message has replaced it. The panel summarizes that output rather than transcribing the full scrollback. The current buffer is unchanged.

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

Show the last page of previous command output. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.