Move tab page to other position
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Move tab page to other position. 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
Tab pages
- Tab 1 Active
alpha.txt- Tab 2
beta.txt- Tab 3
gamma.txt
Option · number
- Local number
0- Global number
0
Command entered · ready to apply 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
Tab pages
- Tab 1 Active
alpha.txt- Tab 2
beta.txt- Tab 3
gamma.txt
Option · number
- Local number
0- Global number
0
Move tab page to other position 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 2 · beta.txt
80 columns × 22 lines- Window 1 · alpha.txt Active
80 columns × 22 lines- Window 3 · gamma.txt
80 columns × 22 lines
Tab pages
- Tab 1
beta.txt- Tab 2 Active
alpha.txt- Tab 3
gamma.txt
Option · number
- Local number
0- Global number
0
Before & after
Before
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
Tab pages
- Tab 1 Active
alpha.txt- Tab 2
beta.txt- Tab 3
gamma.txt
Option · number
- Local number
0- Global number
0
After
Windows
- Window 2 · beta.txt
80 columns × 22 lines- Window 1 · alpha.txt Active
80 columns × 22 lines- Window 3 · gamma.txt
80 columns × 22 lines
Tab pages
- Tab 1
beta.txt- Tab 2 Active
alpha.txt- Tab 3
gamma.txt
Option · number
- Local number
0- Global number
0
Start in Normal mode. The concrete command operates on three prepared tab pages and temporary example files. 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.
one two
three four
five six
keepCursor on line 1, column 1Details & Vim help
Example replayed in Vim
Move tab page to other position. 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 :tabm[ove] 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.