Skip to content

Instantly share code, notes, and snippets.

@hammerill
Last active May 1, 2025 17:09
Show Gist options
  • Save hammerill/a06860df74c9168dbb6eafcb4b416a45 to your computer and use it in GitHub Desktop.
Save hammerill/a06860df74c9168dbb6eafcb4b416a45 to your computer and use it in GitHub Desktop.

Ghostty Config

Important

Add export TERM=xterm-256color to your RC file in order to avoid problems while connecting to a SSH server with Ghostty.

Linux

font-size = 12

background = #181a20
background-opacity = 0.8
background-blur = true

mouse-hide-while-typing = true

maximize = true
# or
window-width = 190 # adjust me or remove me!
window-height = 45 # adjust me or remove me!

keybind = alt+a=select_all
keybind = alt+c=copy_to_clipboard
keybind = alt+e=new_split:down
keybind = alt+i=inspector:toggle
keybind = alt+j=write_screen_file:paste
keybind = alt+n=new_window
keybind = alt+o=new_split:right
keybind = alt+q=quit
keybind = alt+t=new_tab
keybind = alt+v=paste_from_clipboard
keybind = alt+w=close_tab

macOS

font-size = 14

background = #181a20
background-opacity = 0.9
background-blur = true

mouse-hide-while-typing = true

macos-titlebar-style = tabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment