Command | Description |
---|---|
:tabnew or :tabnew {file} | Open a new tab, optionally with specified file |
:tabclose or :tabc | Close the current tab |
:tabonly or :tabo | Close all other tabs |
Command | Description |
---|---|
gt or :tabnext or :tabn | Move to the next tab |
gT or :tabprevious or :tabp | Move to the previous tab |
{i}gt | Move to tab number i |
:tabfirst or :tabfir | Move to the first tab |
:tablast or :tabl | Move to the last tab |
Command | Description |
---|---|
:tabm 0 | Move current tab to the beginning |
:tabm or :tabm $ | Move current tab to the end |
:tabm {i} | Move current tab to position i (0-based index) |
Command | Description |
---|---|
:tabs | List all tabs including their displayed windows |
:tab split | Copy the current window to a new tab |
:tab help {subject} | Open help in a new tab |
:tab drop {file} | Open file in a new tab, or jump to a window/tab containing the file if there is one |
Ctrl-W T | Move the current split window into its own tab |