Skip to content

Instantly share code, notes, and snippets.

@BretFisher
Last active June 17, 2026 18:12
Show Gist options
  • Select an option

  • Save BretFisher/c70ed6eddb764642cda26d18782addc8 to your computer and use it in GitHub Desktop.

Select an option

Save BretFisher/c70ed6eddb764642cda26d18782addc8 to your computer and use it in GitHub Desktop.
Ghostty Config
# reload config with shift-command-,
# https://ghostty.org/docs/config/reference
####
# theme
####
# 2026/3 switched from Catppuccin Mocha to Macchiato to match opencode's theme
theme = dark:Catppuccin Macchiato,light:Catppuccin Latte
# Tab Bar: native, transparent, tabs (compact), hidden
macos-titlebar-style = tabs
####
# keybindings
####
keybind = global:cmd+~=toggle_visibility
keybind = global:cmd+`=toggle_quick_terminal
keybind = performable:ctrl+c=copy_to_clipboard
####
# fonts
####
# using https://monaspace.githubnext.com/
font-family = "Monaspace Argon NF"
font-size = 15
window-inherit-font-size = true
####
# cursor
####
# change cursor to block, bar, underline, or block_hollow
#cursor-style = block
#cursor-style-blink = false
# cursor style doesn't work if if shell-integration is enabled, so set to no-cursor
#shell-integration-features = no-cursor
####
# paths
####
working-directory = /Users/bret/code
window-inherit-working-directory = false
tab-inherit-working-directory = false
split-inherit-working-directory = true
####
# fixing backspace/delete in ssh
####
# NOTE: to fix this serverside, run this command locally on macOS:
# infocmp -x xterm-ghostty | ssh root@<remote-server> -- tic -x -
shell-integration-features = ssh-terminfo,ssh-env
####
# Quake-style quick terminal
####
quick-terminal-size = 40%,50%
quick-terminal-animation-duration = .2
quick-terminal-autohide = false
quick-terminal-space-behavior = remain
quick-terminal-position = bottom
# workaround for size bug:
# https://github.com/ghostty-org/ghostty/discussions/12092
# window-save-state = never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment