Skip to content

Instantly share code, notes, and snippets.

@frobware
Created January 2, 2025 12:12
Show Gist options
  • Save frobware/5c266bb06665320feda254f90b1381fe to your computer and use it in GitHub Desktop.
Save frobware/5c266bb06665320feda254f90b1381fe to your computer and use it in GitHub Desktop.
ghostty config
# keybind = alt+physical:one=unbind
# keybind = alt+physical:two=unbind
# keybind = alt+physical:three=unbind
# keybind = alt+physical:four=unbind
# keybind = alt+physical:five=unbind
#keybind = clear
keybind = shift+up=adjust_selection:up
keybind = shift+left=adjust_selection:left
keybind = shift+page_up=adjust_selection:page_up
keybind = shift+end=adjust_selection:end
keybind = shift+right=adjust_selection:right
keybind = shift+page_down=adjust_selection:page_down
keybind = shift+down=adjust_selection:down
keybind = shift+home=adjust_selection:home
keybind = super+physical:one=goto_tab:1
keybind = super+physical:two=goto_tab:2
keybind = super+physical:three=goto_tab:3
keybind = super+physical:four=goto_tab:4
keybind = super+physical:five=goto_tab:5
keybind = super+physical:six=goto_tab:6
keybind = super+physical:seven=goto_tab:7
keybind = super+physical:eight=goto_tab:8
keybind = super+t=new_tab
keybind = super+n=new_window
keybind = super+equal=increase_font_size:1
keybind = super+minus=decrease_font_size:1
keybind = super+plus=increase_font_size:1
keybind = super+zero=reset_font_size
keybind = super+end=scroll_to_bottom
keybind = super+home=scroll_to_top
keybind = super+page_down=scroll_page_down
keybind = super+page_up=scroll_page_up
keybind = super+down=jump_to_prompt:1
keybind = super+shift+down=jump_to_prompt:1
keybind = super+shift+up=jump_to_prompt:-1
keybind = super+up=jump_to_prompt:-1
clipboard-read = allow
clipboard-write = allow
copy-on-select = clipboard
bold-is-bright = true
cursor-color = green
cursor-opacity = 0.8
cursor-style = block
cursor-style-blink = false
font-thicken = false
macos-option-as-alt = true
macos-non-native-fullscreen = true
macos-titlebar-style = native
window-save-state = always
# window-theme = auto
# window-padding-x = 10
# window-padding-y = 10
window-inherit-working-directory = true
quit-after-last-window-closed = true
minimum-contrast = 3
quick-terminal-animation-duration = 0.1
quick-terminal-position = center
shell-integration = none
shell-integration-features = no-cursor
theme = "Builtin Dark"
theme = "Dark+"
theme = "JetBrains Darcula"
theme = "Tomorrow Night"
theme = Neon
theme = "Blue Matrix"
theme = "farmhouse-dark"
theme = "nord"
theme = "Apple System Colors"
title = Ghostty
window-colorspace = display-p3
window-padding-color = extend-always
keybind = global:super+space=toggle_quick_terminal
# keybind = ctrl+o>l=goto_split:right
# keybind = ctrl+o>h=goto_split:left
# keybind = ctrl+o>j=goto_split:bottom
# keybind = ctrl+o>k=goto_split:top
# keybind = ctrl+o>o=goto_split:next
# keybind = ctrl+o>ctrl+o=goto_split:previous
# keybind = ctrl+o>r=reload_config
# keybind = ctrl+o>z=toggle_split_zoom
# keybind = ctrl+o>-=new_split:down
# keybind = ctrl+o>shift+\=new_split:right
# keybind = ctrl+alt+enter=toggle_fullscreen
# keybind = ctrl+shift+enter=new_split:auto
# keybind = ctrl+shift+c=copy_to_clipboard
# keybind = ctrl+shift+v=paste_from_clipboard
unfocused-split-opacity = 0.8
#unfocused-split-fill = black
# Palette values mapped from my alacritty theme/setup.
# black
palette = 0=#000000
palette = 8=#7F7F7F
# red
palette = 1=#E40100
palette = 9=#FF0000
# green
palette = 2=#2EFF00
palette = 10=#00FF00
# yellow
palette = 3=#E4E400
palette = 11=#FFFF00
# blue
palette = 4=#005AFF
palette = 12=#0000FF
# purple (magenta)
palette = 5=#B300FF
palette = 13=#FF00FF
# aqua (cyan)
palette = 6=#00E6E6
palette = 14=#00FFFF
# white
palette = 7=#B9B9B9
palette = 15=#FFFFFF
# font-family = "Terminus (TTF)"
# font-family = "JetBrains Mono Nerd Font"
# font-size = 16
# adjust-cell-height = 0
# freetype-load-flags = no-hinting,no-force-autohint,no-monochrome,no-autohint
# Other
# window-width = 80
# window-height = 72
font-family = JetBrains Mono NL
# font-family = Fira Mono
font-style = Regular
font-style-bold = Bold
# font-style-italic = Medium Italic
# font-style-bold-italic = Bold Italic
font-size = 20
#adjust-cell-width = -5%
#font-family = Symbols Nerd Font Mono
window-padding-x = 2
window-padding-y = 0
window-padding-balance = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment