Skip to content

Instantly share code, notes, and snippets.

@effektsvk
Created April 29, 2025 15:42
Show Gist options
  • Select an option

  • Save effektsvk/86a2594444d5ffd8fdf5d06d3d067bf4 to your computer and use it in GitHub Desktop.

Select an option

Save effektsvk/86a2594444d5ffd8fdf5d06d3d067bf4 to your computer and use it in GitHub Desktop.
Ghostty config
# ─── Basic behaviour ─────────────────────────────────────────────
window-inherit-working-directory = true
# Disable close warning on running processes
confirm-close-surface = false
# Create new tab at the end
window-new-tab-position = end
window-width = 999
window-height = 999
# ─── Key-bindings ────────────────────────────────────────────────
# super = ⌘ | alt = ⌥ | shift = ⇧
# ⌘ T – new tab (same as Kitty default)
keybind = super+t=new_tab
# ⌘ Space – open a split; “auto” lets Ghostty choose vertical or horizontal
keybind = super+enter=new_split:down
keybind = super+shift+enter=new_split:right
# ⌘ ⇧ D – close the focused split/tab/window
keybind = super+shift+d=close_surface
# ⌥ J / ⌥ K – cycle through splits (next / previous)
keybind = alt+j=goto_split:next
keybind = alt+k=goto_split:previous
# ⌘ ⇧ F – dump full scrollback to a temp file and open it in your editor
keybind = super+shift+f=write_scrollback_file:open
# Quick terminal
keybind = global:super+ctrl+t=toggle_quick_terminal
# Move tabs with ⌘ + . and ⌘ + shift + .
keybind = super+.=move_tab:1
keybind = super+shift+.=move_tab:-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment