Vim Recall繁體中文

Show the tab pages and what they contain

:tabs

Example

Normal 0 / 3

Show the tab pages and what they contain.

Option · number

Local number
0
Global number
0

Command output

Empty
Before & after

Before

Option · number

Local number
0
Global number
0

Command output

Empty

After

Option · number

Local number
0
Global number
0

Command output

Tab page 1
>   alpha.txt
Tab page 2
    beta.txt
Tab page 3
    gamma.txt

Start in Normal mode. The concrete command operates on three prepared tab pages and temporary example files. 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. When multiple tab pages are listed, The Windows panel is an all-tab inventory. Its stored rows/columns belong to each window's own tab layout, not one visible split arrangement. The active window belongs to the active tab; window labels are per-frame example identifiers, not Vim window numbers.

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

Example replayed in Vim

Show the tab pages and what they contain. 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. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.