Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save piersolenski/aff3d89299ee7ad551c5b04e771fed82 to your computer and use it in GitHub Desktop.
Save piersolenski/aff3d89299ee7ad551c5b04e771fed82 to your computer and use it in GitHub Desktop.
Ghostty Config
# Commands
# -----
initial-command = zsh -l -c "tmux attach || tmux new-session"
confirm-close-surface = false
# Theme
# -----
theme = rose-pine
# UI
# --
macos-titlebar-style = hidden
window-padding-x = 0
window-padding-y = 0
# Fonts
# -----
font-family = "Hack Nerd Font"
font-size = 14
font-variation-bold = wght=500
adjust-cell-width = "10%"
font-thicken = 1
# Keybindings
# -----------
# Unbind some defaults
keybind = alt+left=unbind
keybind = alt+right=unbind
# Notes
keybind = cmd+n=text:\x02N
# New tmux Tab
keybind = cmd+t=text:\x02c
# Next tmux Tab
keybind = cmd+l=text:\x02t
# Prev tmux Tab
keybind = cmd+h=text:\01Bp
# Close tmux Tab
keybind = cmd+w=text:\x02x
# Project picker
keybind = cmd+p=text:\x02P
macos-option-as-alt = true
keybind = alt+ñ=text:~
keybind = alt+º=text:\\
keybind = alt+1=text:|
keybind = alt+2=text:@
keybind = alt+3=text:#
keybind = alt+4=text:¢
keybind = alt+5=text:∞
keybind = alt+`=text:[
keybind = alt+plus=text:]
keybind = alt+´=text:{
keybind = alt+ç=text:}
keybind = alt+e=text:€
# Tmux tab switching
keybind = cmd+1=text:\x021
keybind = cmd+2=text:\x022
keybind = cmd+3=text:\x023
keybind = cmd+4=text:\x024
keybind = cmd+5=text:\x025
keybind = cmd+6=text:\x026
keybind = cmd+7=text:\x027
keybind = cmd+8=text:\x028
keybind = cmd+9=text:\x029
keybind = cmd+h=text:\x02p
keybind = cmd+l=text:\x02n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment