Files
dotfiles/dot_config/ghostty/config
T

69 lines
1.9 KiB
Plaintext
Raw Normal View History

# Font Configuration
theme = noctalia
font-size = 12.5
font-family = Victor Mono NF
background-blur = true
# Window Configuration
window-decoration = false
window-padding-x = 12
window-padding-y = 12
background-opacity = 0.9
# Cursor Configuration
cursor-style = underline
cursor-style-blink = true
# Scrollback
scrollback-limit = 3023
# Terminal features
mouse-hide-while-typing = true
copy-on-select = false
confirm-close-surface = false
# Disable annoying copied to clipboard
app-notifications = no-clipboard-copy,no-config-reload
# Key bindings for common actions
keybind = cmd+c=copy_to_clipboard
keybind = cmd+v=paste_from_clipboard
keybind = cmd+n=new_window
keybind = ctrl+plus=increase_font_size:1
keybind = ctrl+minus=decrease_font_size:1
keybind = ctrl+zero=reset_font_size
# Tab configuration
gtk-titlebar = false
quit-after-last-window-closed = false
quit-after-last-window-closed-delay = 5m
# Shell integration
shell-integration = detect
shell-integration-features = cursor,sudo,title,no-cursor
keybind = shift+enter=text:\n
# Rando stuff
gtk-single-instance = true
# Launch straight into Herdr (bare `herdr` launches or attaches to the
# persistent session; closing the window detaches, sessions survive)
command = herdr
# ── Herdr sync: Ctrl+Shift chords → prefix (\x02 = ctrl+b) bytes ──
# Later keybind lines overwrite earlier/default ones; keep these LAST.
# reload_config moves off ctrl+shift+, (taken by Herdr settings below)
keybind = ctrl+shift+alt+,=reload_config
keybind = ctrl+shift+n=text:\x02%
keybind = ctrl+shift+t=text:\x02c
keybind = ctrl+tab=text:\x02n
keybind = ctrl+shift+tab=text:\x02p
keybind = ctrl+shift+f=text:\x02s
keybind = ctrl+shift+l=text:\x02.
keybind = ctrl+shift+h=text:\x02,
keybind = ctrl+shift+j=text:\x02j
keybind = ctrl+shift+k=text:\x02k
keybind = super+enter=text:\x02N
keybind = super+r=text:\x02W
keybind = ctrl+shift+r=text:\x02T
keybind = ctrl+shift+,=text:\x02S