Skip to content

Instantly share code, notes, and snippets.

@czwen
Created April 5, 2026 03:56
Show Gist options
  • Select an option

  • Save czwen/a76de8f26a35b1b410a9b165b9b1248c to your computer and use it in GitHub Desktop.

Select an option

Save czwen/a76de8f26a35b1b410a9b165b9b1248c to your computer and use it in GitHub Desktop.
ghostty
# vim: ft=ghostty
# Font
font-family = MesloLGS Nerd Font Mono
font-size = 13
font-thicken = true
window-inherit-font-size = true
# Look and Feel
theme = dark:Gruvbox Dark Hard,light:Gruvbox Light Hard
window-colorspace = display-p3
window-padding-x = 1
window-padding-y = 1
window-padding-color = extend
window-padding-balance = true
window-step-resize = false
macos-icon = custom-style
macos-icon-frame = plastic
macos-icon-ghost-color = #ebdbb2
macos-icon-screen-color = #1d2021
adjust-cursor-thickness = 2
cursor-style = block
cursor-style-blink = false
minimum-contrast = 1.3
link-url = true
macos-titlebar-style = transparent
mouse-hide-while-typing = true
mouse-scroll-multiplier = 2
window-save-state = always
background-opacity = 0.8
background-blur-radius = 40
macos-titlebar-style = tabs
# Behavior
clipboard-paste-protection = true
clipboard-trim-trailing-spaces = true
copy-on-select = true
macos-auto-secure-input = true
macos-secure-input-indication = true
confirm-close-surface = false
quit-after-last-window-closed = false
auto-update = check
scrollback-limit = 10000
shell-integration-features = no-cursor,sudo,title
# Key bindings
macos-option-as-alt = true
keybind = cmd+right=text:\x05
keybind = cmd+left=text:\x01
keybind = cmd+backspace=text:\x15
working-directory = home
window-inherit-working-directory = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment