Vim Recall繁體中文

Equivalent to g<Tab>: go to last accessed tab page

Ctrl-w g<Tab>

Example

Normal 0 / 1
one two
three four
five six
keep
Cursor on line 1, column 1

Equivalent to g<Tab>: go to last accessed tab page. 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.

Windows

Window 1 · alpha.txt Active
80 columns × 22 lines
Window 2 · beta.txt
80 columns × 22 lines
Window 3 · gamma.txt
80 columns × 22 lines

Buffers

1 · alpha.txt Active
loaded · listed · alternate · one two ↩ three four
2 · beta.txt
loaded · listed · beta tab
3 · gamma.txt
loaded · listed · gamma tab

Tab pages

Tab 1 Active
alpha.txt
Tab 2
beta.txt
Tab 3
gamma.txt
Before & after
Before
one two
three four
five six
keep
Cursor on line 1, column 1

Windows

Window 1 · alpha.txt Active
80 columns × 22 lines
Window 2 · beta.txt
80 columns × 22 lines
Window 3 · gamma.txt
80 columns × 22 lines

Buffers

1 · alpha.txt Active
loaded · listed · alternate · one two ↩ three four
2 · beta.txt
loaded · listed · beta tab
3 · gamma.txt
loaded · listed · gamma tab

Tab pages

Tab 1 Active
alpha.txt
Tab 2
beta.txt
Tab 3
gamma.txt
After
gamma tab
Cursor on line 1, column 1

Windows

Window 1 · alpha.txt
80 columns × 22 lines
Window 2 · beta.txt
80 columns × 22 lines
Window 3 · gamma.txt Active
80 columns × 22 lines

Buffers

1 · alpha.txt
loaded · listed · one two ↩ three four
2 · beta.txt
loaded · listed · alternate · beta tab
3 · gamma.txt Active
loaded · listed · gamma tab

Tab pages

Tab 1
alpha.txt
Tab 2
beta.txt
Tab 3 Active
gamma.txt

Start in Normal mode. Three tab pages are prepared; the Tabs panel identifies the active tab. 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.

Details & Vim help

Example replayed in Vim

Equivalent to g<Tab>: go to last accessed tab page. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.