Default keyboard shortcuts for Ghostty terminal emulator
Note: These are the default keybindings. All keybindings can be customized through the configuration file using the keybind
option.
Action | Windows/Linux | macOS |
---|---|---|
New window | Ctrl+⇧+N | ⌘+N |
Close window | Alt+F4 | ⌘+⇧+W |
Close all windows | - | ⌘+⇧+⌥+W |
Toggle fullscreen | Ctrl+Enter | ⌘+Enter or ⌘+Ctrl+F |
Quit application | Ctrl+⇧+Q | ⌘+Q |
Action | Windows/Linux | macOS |
---|---|---|
New tab | Ctrl+⇧+T | ⌘+T |
Close tab/surface | Ctrl+⇧+W | ⌘+W |
Previous tab | Ctrl+⇧+Tab, Ctrl+⇧+←, Ctrl+Page Up | ⌘+⇧+[ |
Next tab | Ctrl+Tab, Ctrl+⇧+→, Ctrl+Page Down | ⌘+⇧+] |
Go to tab 1-8 | Alt+[1-8] | ⌘+[1-8] |
Go to last tab | Alt+9 | ⌘+9 |
Action | Windows/Linux | macOS |
---|---|---|
New split (right) | Ctrl+⇧+O | ⌘+D |
New split (down) | Ctrl+⇧+E | ⌘+⇧+D |
Focus previous split | Ctrl+Super+[ | ⌘+[ |
Focus next split | Ctrl+Super+] | ⌘+] |
Focus split up | Ctrl+Alt+Up | ⌘+⌥+Up |
Focus split down | Ctrl+Alt+Down | ⌘+⌥+Down |
Focus split left | Ctrl+Alt+← | ⌘+⌥+← |
Focus split right | Ctrl+Alt+→ | ⌘+⌥+→ |
Toggle split zoom | Ctrl+⇧+Enter | ⌘+⇧+Enter |
Resize split up | Ctrl+Super+⇧+Up | ⌘+Ctrl+Up |
Resize split down | Ctrl+Super+⇧+Down | ⌘+Ctrl+Down |
Resize split left | Ctrl+Super+⇧+← | ⌘+Ctrl+← |
Resize split right | Ctrl+Super+⇧+→ | ⌘+Ctrl+→ |
Equalize splits | Ctrl+Super+⇧+= | ⌘+Ctrl+= |
Action | Windows/Linux | macOS |
---|---|---|
Copy | Ctrl+⇧+C | ⌘+C |
Paste | Ctrl+⇧+V | ⌘+V |
Paste from selection | ⇧+Insert | - |
Action | Windows/Linux | macOS |
---|---|---|
Scroll to top | ⇧+Home | ⌘+Home |
Scroll to bottom | ⇧+End | ⌘+End |
Scroll page up | ⇧+Page Up | ⌘+Page Up |
Scroll page down | ⇧+Page Down | ⌘+Page Down |
Jump to previous prompt | Ctrl+⇧+Page Up | ⌘+Up |
Jump to next prompt | Ctrl+⇧+Page Down | ⌘+Down |
Clear screen | - | ⌘+K |
Action | Windows/Linux | macOS |
---|---|---|
Increase font size | Ctrl++/Ctrl+= | ⌘++/⌘+= |
Decrease font size | Ctrl+- | ⌘+- |
Reset font size | Ctrl+0 | ⌘+0 |
Action | Windows/Linux | macOS |
---|---|---|
Open config | Ctrl+, | ⌘+, |
Reload config | Ctrl+⇧+, | ⌘+⇧+, |
Action | Windows/Linux | macOS |
---|---|---|
Toggle inspector | Ctrl+⇧+I | ⌘+⌥+I |
Action | Windows/Linux | macOS |
---|---|---|
Write scrollback to file (paste) | Ctrl+⇧+J | ⌘+⇧+J |
Write scrollback to file (open) | Ctrl+⇧+Alt+J | ⌘+⇧+⌥+J |