主题选择

查看所有主题列表,终端执行

ghostty +list-themes

常用快捷键

  • cmd + T — 新选项卡
  • cmd + D — 向右分屏

Window Management

ActionWindows/LinuxmacOS
New windowCtrl+Shift+NCmd+N
Close windowAlt+F4Cmd+Shift+W
Close all windows-Cmd+Shift+Option+W
Toggle fullscreenCtrl+EnterCmd+Enter or Cmd+Ctrl+F
Quit applicationCtrl+Shift+QCmd+Q

Tab Management

ActionWindows/LinuxmacOS
New tabCtrl+Shift+TCmd+T
Close tab/surfaceCtrl+Shift+WCmd+W
Previous tabCtrl+Shift+Tab, Ctrl+Shift+Left, Ctrl+Page UpCmd+Shift+[
Next tabCtrl+Tab, Ctrl+Shift+Right, Ctrl+Page DownCmd+Shift+]
Go to tab 1-8Alt+[1-8]Cmd+[1-8]
Go to last tabAlt+9Cmd+9
Move tab--

Split Management

ActionWindows/LinuxmacOS
New split (right)Ctrl+Shift+OCmd+D
New split (down)Ctrl+Shift+ECmd+Shift+D
Focus previous splitCtrl+Super+[Cmd+[
Focus next splitCtrl+Super+]Cmd+]
Focus split upCtrl+Alt+UpCmd+Option+Up
Focus split downCtrl+Alt+DownCmd+Option+Down
Focus split leftCtrl+Alt+LeftCmd+Option+Left
Focus split rightCtrl+Alt+RightCmd+Option+Right
Toggle split zoomCtrl+Shift+EnterCmd+Shift+Enter
Resize split upCtrl+Super+Shift+UpCmd+Ctrl+Up
Resize split downCtrl+Super+Shift+DownCmd+Ctrl+Down
Resize split leftCtrl+Super+Shift+LeftCmd+Ctrl+Left
Resize split rightCtrl+Super+Shift+RightCmd+Ctrl+Right
Equalize splitsCtrl+Super+Shift+=Cmd+Ctrl+=

Copy & Paste

ActionWindows/LinuxmacOS
CopyCtrl+Shift+CCmd+C
PasteCtrl+Shift+VCmd+V
Paste from selectionShift+Insert-

Text Navigation

ActionWindows/LinuxmacOS
Scroll to topShift+HomeCmd+Home
Scroll to bottomShift+EndCmd+End
Scroll page upShift+Page UpCmd+Page Up
Scroll page downShift+Page DownCmd+Page Down
Jump to previous promptCtrl+Shift+Page UpCmd+Up
Jump to next promptCtrl+Shift+Page DownCmd+Down
Clear screen-Cmd+K

Font Size

ActionWindows/LinuxmacOS
Increase font sizeCtrl++/Ctrl+=Cmd++/Cmd+=
Decrease font sizeCtrl+-Cmd+-
Reset font sizeCtrl+0Cmd+0

Configuration

ActionWindows/LinuxmacOS
Open configCtrl+,Cmd+,
Reload configCtrl+Shift+,Cmd+Shift+,

Inspector

ActionWindows/LinuxmacOS
Toggle inspectorCtrl+Shift+ICmd+Option+I

Scrollback

ActionWindows/LinuxmacOS
Write scrollback to file (paste)Ctrl+Shift+JCmd+Shift+J
Write scrollback to file (open)Ctrl+Shift+Alt+JCmd+Shift+Option+J

These are the default keybindings. All keybindings can be customized through the configuration file using the keybind option.