2025-01-01 18:24:47 +01:00
|
|
|
# https://ghostty.org/docs/config/reference
|
|
|
|
|
2024-12-28 11:15:35 +01:00
|
|
|
# appearance
|
|
|
|
theme = light:catppuccin-latte,dark:catppuccin-mocha
|
|
|
|
cursor-style-blink = false
|
|
|
|
cursor-invert-fg-bg = true
|
2025-01-01 18:24:47 +01:00
|
|
|
background-blur-radius = 20
|
|
|
|
macos-titlebar-style = tabs
|
2025-01-02 14:32:49 +01:00
|
|
|
window-colorspace = display-p3
|
2024-12-28 11:15:35 +01:00
|
|
|
|
|
|
|
# font
|
|
|
|
font-size = 17
|
|
|
|
adjust-cell-width = -10%
|
|
|
|
|
|
|
|
# size
|
|
|
|
window-height = 300
|
|
|
|
window-width = 300
|
2025-01-01 18:24:47 +01:00
|
|
|
window-padding-x = 5
|
|
|
|
window-padding-y = 10
|
|
|
|
window-padding-balance = true
|
2024-12-28 11:15:35 +01:00
|
|
|
|
|
|
|
# features
|
|
|
|
copy-on-select = true
|
|
|
|
shell-integration-features = sudo,title,no-cursor
|
2025-01-02 00:02:19 +01:00
|
|
|
mouse-scroll-multiplier = 3
|
2024-12-28 11:15:35 +01:00
|
|
|
|
|
|
|
# keybinds
|
|
|
|
keybind = global:cmd+shift+space=toggle_quick_terminal
|
|
|
|
|
2025-01-19 02:21:04 +01:00
|
|
|
## add missing search
|
|
|
|
## https://github.com/ghostty-org/ghostty/issues/189
|
|
|
|
## Search entire scrollback history in default text editor
|
|
|
|
keybind = cmd+f=write_scrollback_file:open
|
|
|
|
|
|
|
|
## Search Selection
|
|
|
|
## HOWTO: Cmd+triple_click to select your last output then press cmd+shift+f to search it
|
|
|
|
keybind = cmd+shift+f=write_selection_file:open
|
|
|
|
|
|
|
|
## RECOMMENDED: Set this to something big so you can capture all of your scrollback
|
|
|
|
scrollback-limit = 20000000
|
|
|
|
|
2024-12-28 11:15:35 +01:00
|
|
|
# fix "git" arrows in prompt, see https://github.com/ghostty-org/ghostty/discussions/3541
|
|
|
|
font-codepoint-map = U+21E1-U+21E3=Menlo
|
|
|
|
|