Skip to content

Instantly share code, notes, and snippets.

@erhhung
Created January 25, 2025 07:20
Show Gist options
  • Save erhhung/b4a08218f29c0d8934204c9fb4445c78 to your computer and use it in GitHub Desktop.
Save erhhung/b4a08218f29c0d8934204c9fb4445c78 to your computer and use it in GitHub Desktop.
Ghostty Config on macOS
# https://ghostty.org/docs/config/reference
# https://ghostty.zerebos.com/
# shell
term = xterm-256color
shell-integration = bash
shell-integration-features = no-cursor
command = /bin/sh -c "printf '\e[2J\e[3J\e[H\n'; exec /usr/local/bin/bash -l"
# window
window-theme = dark
window-save-state = always
quit-after-last-window-closed = true
macos-titlebar-style = transparent
# fonts
font-family = DroidSansM Nerd Font
font-size = 17
# colors
theme = Monokai Remastered
foreground = #d9d9d9
background = #0c0c0c
background-opacity = 0.9
split-divider-color = #8b2a5b
selection-foreground = #ffffff
selection-background = #343434
palette = 0=#1a1a1a
palette = 1=#f4005f
palette = 2=#98e024
palette = 3=#fd971f
palette = 4=#9d65ff
palette = 5=#f4005f
palette = 6=#58d1eb
palette = 7=#c4c5b5
palette = 8=#625e4c
palette = 9=#f4005f
palette = 10=#98e024
palette = 11=#e0d561
palette = 12=#9d65ff
palette = 13=#f4005f
palette = 14=#58d1eb
palette = 15=#f6f6ef
bold-is-bright = true
# cursor
cursor-color = #ffff00
cursor-text = #000000
cursor-style = block
cursor-style-blink = false
# mouse
clipboard-read = allow
clipboard-write = allow
copy-on-select = clipboard
mouse-hide-while-typing = true
# keyboard
macos-option-as-alt = true
keybind = super+left=previous_tab
keybind = super+right=next_tab
# updates
auto-update = check
auto-update-channel = tip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment