Tabs

What is it

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. Note: New Tabs will default to the active Tabs’ current working directory and the actual color values will be automatically derived from your Warp theme.

How to use it

  • Open a new Tab with CMD-T or by clicking on the + in the top bar.
  • Right-click on the new Tab button + to make a new tab or run a saved Launch Configuration.
  • Close the current Tab with CMD-W or by clicking on the x on hover over a Tab.
  • Reopen closed tabs with SHIFT-CMD-T for up to one minute; Configure or disable this feature in Settings > Features > Enable reopening of closed sessions
  • Activate the Previous or Next Tab with SHIFT-CMD-{ or SHIFT-CMD-}, or by clicking a Tab.
  • Activate the first thru eighth Tabs with CMD-1 thru CMD-8.
  • Move a Tab to the Left or Right with CTRL-SHIFT-LEFT or CTRL-SHIFT-LEFT, or by clicking and dragging a Tab.
  • Double-click a Tab to rename it.
  • Right-clicking on a Tab reveals more options, like ‘Rename Tab’ and the color picker, or explore even more Tab actions within the Command Palette CMD-P or in the Keyboard Shortcuts.
Terminal Tip Using your .zshrc or .bashrc files, 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'
fi
Learn more about Tab names here and the Working directory for Tabs here.

How it works

Tabs Demo