Skip to content

Instantly share code, notes, and snippets.

@hqman
Created January 17, 2025 05:50
Show Gist options
  • Save hqman/50e65c2b68a041c0237169c73eddc904 to your computer and use it in GitHub Desktop.
Save hqman/50e65c2b68a041c0237169c73eddc904 to your computer and use it in GitHub Desktop.
ghostty config
theme = catppuccin-frappe
font-family = "JetBrainsMono Nerd Font Mono"
font-size = 16
background-opacity = 0.9
background = 30363D
shell-integration-features = no-cursor,sudo,no-title
cursor-style = block
adjust-cell-height = 10%
mouse-hide-while-typing = true
mouse-scroll-multiplier = 2
window-padding-balance = true
window-save-state = always
macos-titlebar-style=transparent
window-colorspace = "display-p3"
background = 1C2021
# foreground = d4be98
# keybindings
keybind = ctrl+space>r=reload_config
keybind = ctrl+space>x=close_surface
keybind = ctrl+space>n=new_window
# tabs
keybind = ctrl+space>n=new_tab
keybind = ctrl+space>shift+l=next_tab
keybind = ctrl+space>shift+h=previous_tab
keybind = ctrl+space>comma=move_tab:-1
keybind = ctrl+space>period=move_tab:1
# quick tab switch
keybind = ctrl+space>1=goto_tab:1
keybind = ctrl+space>2=goto_tab:2
keybind = ctrl+space>3=goto_tab:3
keybind = ctrl+space>4=goto_tab:4
keybind = ctrl+space>5=goto_tab:5
keybind = ctrl+space>6=goto_tab:6
keybind = ctrl+space>7=goto_tab:7
keybind = ctrl+space>8=goto_tab:8
keybind = ctrl+space>9=goto_tab:9
# split
keybind = ctrl+space>h=new_split:right
keybind = ctrl+space>v=new_split:down
keybind = ctrl+space>j=goto_split:bottom
keybind = ctrl+space>k=goto_split:top
keybind = ctrl+space>h=goto_split:left
keybind = ctrl+space>l=goto_split:right
keybind = ctrl+space>z=toggle_split_zoom
keybind = ctrl+space>e=equalize_splits
# other
copy-on-select = clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment