Skip to main content
Ghostty supports both window splits and tabs, allowing you to organize multiple terminal sessions within a single window. This feature works on macOS and Linux (GTK).

Splits

Splits allow you to divide a window into multiple panes, each running its own terminal session.

Creating Splits

Default Keybindings (macOS)

  • super+d - Split right
  • super+shift+d - Split down

Default Keybindings (Linux)

  • ctrl+shift+right - Split right
  • ctrl+shift+down - Split down

Configuration

Customize split creation keybindings:
~/.config/ghostty/config
The new_split action accepts:
  • right - Create split to the right
  • down - Create split below
  • left - Create split to the left
  • up - Create split above
1

Use navigation keybindings

  • super+alt+up - Move to split above
  • super+alt+down - Move to split below
  • super+alt+left - Move to split left
  • super+alt+right - Move to split right
  • super+alt+[ - Previous split
  • super+alt+] - Next split
2

Configure custom navigation

The goto_split action accepts:
  • left, right, up, down - Move to adjacent split
  • next, previous - Cycle through splits

Split Appearance

Split Zoom

Zoom a split to temporarily fill the entire window:
Control zoom preservation during navigation:

Resizing Splits

Closing Splits

Close the focused split:
When you close a split, the remaining splits expand to fill the space.

Tabs

Tabs provide another way to organize multiple terminal sessions, similar to browser tabs.

Creating Tabs

macOS

super+t - New tab

Linux

ctrl+shift+t - New tab
Customize the keybinding:
  • super+1 through super+9 - Jump to specific tab
  • super+shift+[ - Previous tab
  • super+shift+] - Next tab
Custom tab navigation:

Tab Appearance

Control tab visibility:

Tab Position (Linux/GTK)

On Linux with GTK, you can configure tab bar position:

Closing Tabs

Combining Splits and Tabs

You can use splits and tabs together:
  1. Create tabs for different projects or contexts
  2. Use splits within each tab to view multiple terminals side-by-side

Example Configurations

Tips and Tricks

Make the focused split more obvious:
Create keybindings for common layouts:
Useful for temporarily maximizing a split:

Platform Differences