Tabs
The Tabs feature allows you to organize a window into multiple terminal sessions. Tabs can be customized with a title and/or an ANSI color to help identify them.
How to use Tabs
Right-click on the new Tab button
+to make a new tab, restore closed tab, or run a saved Launch Configuration.Open a new Tab with
CMD-Tor by clicking on the+in the top bar.Close the current Tab with
CMD-Wor by clicking on theXon hover over a Tab.Reopen closed tabs with
SHIFT-CMD-T.Move a Tab to the Left / Right with
CTRL-SHIFT-LEFT/CTRL-SHIFT-RIGHTor by clicking and dragging a Tab.Activate the Previous / Next Tab with
SHIFT-CMD-{/SHIFT-CMD-}or by clicking a Tab.Activate the first through eighth Tabs with
CMD-1thruCMD-8.Switch to the last Tab with
CMD-9.Double-click a Tab to rename it.
Right-clicking on a Tab reveals more options you can explore within the Command Palette or Keyboard Shortcuts.
Right-click on the new Tab button
+to make a new tab, restore closed tab, or run a saved Launch Configuration.Open a new Tab with
CTRL-SHIFT-Tor by clicking on the+in the top bar.Close the current Tab with
CTRL-SHIFT-Wor by clicking on thexon hover over a Tab.Reopen closed tabs with
CTRL-ALT-T.Move a Tab to the Left / Right with
CTRL-SHIFT-LEFT/CTRL-SHIFT-RIGHTor by clicking and dragging a Tab.Activate the Previous / Next Tab with
CTRL-PGUP/CTRL-PGDNor by clicking a Tab.Activate the first through eighth Tabs with
CTRL-1thruCTRL-8.Switch to the last Tab with
CTRL-9.Double-click a Tab to rename it.
Right-clicking on a Tab reveals more options you can explore within the Command Palette or Keyboard Shortcuts.
Right-click on the new Tab button
+to make a new tab, restore closed tab, or run a saved Launch Configuration.Open a new Tab with
CTRL-SHIFT-Tor by clicking on the+in the top bar.Close the current Tab with
CTRL-SHIFT-Wor by clicking on thexon hover over a Tab.Reopen closed tabs with
CTRL-ALT-T.Move a Tab to the Left / Right with
CTRL-SHIFT-LEFT/CTRL-SHIFT-RIGHTor by clicking and dragging a Tab.Activate the Previous / Next Tab with
CTRL-PGUP/CTRL-PGDNor by clicking a Tab.Activate the first through eighth Tabs with
CTRL-1thruCTRL-8.Switch to the last Tab with
CTRL-9.Double-click a Tab to rename it.
Right-clicking on a Tab reveals more options you can explore within the Command Palette or Keyboard Shortcuts.
Terminal Tip
Using your .zshrc or .bashrc files on macOS or Linux, you can set a new Tab name:
# Set name, where MyTabName would be whatever you want to see in the Tab ( either a fixed string, $PWD, or something else )
function set_name () {
echo -ne "\033]0;MyTabName\007"
}
# Add the function to the environment variable in either Zsh or Bash
if [ -n "$ZSH_VERSION" ]; then
precmd_functions+=(set_name)
elif [ -n "$BASH_VERSION" ]; then
PROMPT_COMMAND='set_name'
fiLearn more about Tab names here.
Tab Restoration
Tab Restoration enables you to reopen recently closed tabs for up to 60 seconds. Configure this feature in Settings > Features > Session > Enable reopening of closed sessions
CTRL-TAB Behavior
CTRL-TAB shortcut defaults to activate the previous / next Tab. You can configure the shortcut to cycle the most recent session, including any Split Panes, in Settings > Features > Keys > Ctrl-Tab behavior
Tabs Behavior
Please see our Appearance > Tabs Behavior docs for more Tab related settings.
How Tabs work
Last updated
Was this helpful?