# Ghostty config
Recommended Ghostty terminal configuration for the Mac Tahoe dev setup.
> [!note] Raw file
> The runnable original lives next to this note at `ghostty-config`. Copy the contents below, or use the raw file directly.
````ini
# ~/.config/ghostty/config
#
# Ghostty configuration for Apple Silicon macOS Tahoe development.
# Reload in-app with Cmd+Shift+, after editing.
#
# See all options: ghostty +show-config --default --docs
# Browse themes: ghostty +list-themes
# Browse fonts: ghostty +list-fonts
# Default keybinds: ghostty +list-keybinds --default
# ── Appearance ────────────────────────────────────────────────
theme = Catppuccin Mocha
font-family = "MesloLGM Nerd Font Mono"
font-size = 14
window-padding-x = 12
window-padding-y = 12
window-padding-balance = true
background-opacity = 0.97
background-blur-radius = 20
# ── Cursor ────────────────────────────────────────────────────
cursor-style = block
cursor-style-blink = false
# Shell integration normally forces a bar cursor at prompts.
# 'no-cursor' preserves the cursor-style set above while keeping
# the other integration features (Cmd-click jumps, SSH terminfo, etc.).
shell-integration-features = no-cursor,sudo,title
# ── macOS-specific ────────────────────────────────────────────
# Integrates tabs into the titlebar
macos-titlebar-style = tabs
# Makes left Option behave as Alt —
# critical for Option+← / Option+→ word motion
macos-option-as-alt = left
window-save-state = always
auto-update = check
# ── Scrollback & clipboard ────────────────────────────────────
scrollback-limit = 10000
clipboard-read = allow
clipboard-write = allow
copy-on-select = clipboard
# ── Shell integration ─────────────────────────────────────────
# 'detect' auto-injects integration for bash, zsh, fish, elvish, nushell.
# Enables Cmd-click to jump to prompts, prompt markers, SSH terminfo, etc.
shell-integration = detect
# ── Quality-of-life keybinds ──────────────────────────────────
keybind = cmd+d=new_split:right
keybind = cmd+shift+d=new_split:down
keybind = cmd+w=close_surface
keybind = cmd+shift+enter=toggle_split_zoom
````