Skip to content

Instantly share code, notes, and snippets.

@grantvanhorn
Last active July 28, 2026 20:02
Show Gist options
  • Select an option

  • Save grantvanhorn/fb4a27ee453ebc84b0ab9bf2b6cebace to your computer and use it in GitHub Desktop.

Select an option

Save grantvanhorn/fb4a27ee453ebc84b0ab9bf2b6cebace to your computer and use it in GitHub Desktop.
[macOS] Ghostty terminal config — install to ~/.config/ghostty/config
# =============================================================================
# Ghostty terminal configuration — macOS
# =============================================================================
# REQUIREMENTS (install with Homebrew — https://brew.sh):
# brew install --cask ghostty
# brew install --cask font-roboto-mono-nerd-font # RobotoMono Nerd Font (REQUIRED)
#
# Without the Nerd Font, glyphs render as boxes. To use a different font,
# change the font-family line below (list installed faces: `ghostty +list-fonts`).
# =============================================================================
# INSTALL (no stow — Ghostty reads this XDG path on macOS):
#
# Destination: ~/.config/ghostty/config
#
# mkdir -p ~/.config/ghostty
# # download the raw file from this gist, or paste its contents into:
# # ~/.config/ghostty/config
#
# Reload after editing: Cmd+Shift+, (or restart Ghostty).
# =============================================================================
# Theme — pick any built-in Ghostty theme (browse them with: ghostty +list-themes)
# theme = GruvboxDark
# Font
font-family = "RobotoMono Nerd Font"
font-style = Regular
font-size = 12
# Window
window-theme = ghostty
window-padding-x = 14
window-padding-y = 14
confirm-close-surface = false
resize-overlay = never
# Cursor styling
cursor-style = "block"
cursor-style-blink = false
cursor-text = #0e091d
cursor-color = #ff7f41
# Selection colors
selection-background = #ff7f41
selection-foreground = #000000
# SSH session terminfo + cursor shell integration
# (all shell integration options must be passed together)
shell-integration-features = no-cursor,ssh-env
# Note: on macOS Ghostty already uses Cmd+C / Cmd+V for copy/paste, so the
# Linux Alt/Ctrl keybind remap from the original config is intentionally omitted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment