Files
dotfiles/dot_config/kitty/herdr.conf
T
2026-08-15 15:10:36 -04:00

74 lines
2.5 KiB
Plaintext

# ── herdr.conf · kitty as a herdr host ──
# Kitty stays a dumb terminal here: herdr owns panes, tabs and workspaces.
# Keybinds mirror ~/.config/ghostty/config exactly, so both terminals drive
# herdr identically. Prefix ctrl+b == byte \x02; an uppercase letter after the
# prefix byte is the shift variant (\x02N == prefix+shift+n).
# ── base / appearance ──
font_size 12.5
font_family VictorMono Nerd Font
bold_italic_font auto
window_padding_width 8
hide_window_decorations yes
background_opacity 0.9
copy_on_select auto
strip_trailing_spaces smart
confirm_os_window_close 0
allow_remote_control socket-only
cursor_trail 10
cursor_trail_start_threshold 0
cursor_trail_decay 0.01 0.05
cursor_blink_interval 0
# herdr renders its own sidebar/tab strip — no kitty chrome
tab_bar_style hidden
# bare `herdr` launches-or-attaches the persistent session; closing the window
# detaches, sessions survive (same as ghostty `command = herdr`)
shell herdr
# ── ghostty parity: plain shortcuts ──
map super+c copy_to_clipboard
map super+v paste_from_clipboard
map ctrl+plus change_font_size current +1
map ctrl+minus change_font_size current -1
map ctrl+0 change_font_size current 0
# reload_config moves off ctrl+shift+, (taken by herdr settings below)
map ctrl+shift+alt+, load_config_file
# ── herdr sync: ctrl+shift chords → prefix (\x02 = ctrl+b) bytes ──
map super+n send_text all \x02G
map super+t send_text all \x02c
map ctrl+shift+t send_text all \x02c
map ctrl+space send_text all \x02t
map super+z send_text all \x02z
map ctrl+tab send_text all \x02.
map ctrl+shift+tab send_text all \x02,
map ctrl+shift+f send_text all \x02K
map ctrl+shift+g send_text all \x02L
map ctrl+shift+e send_text all \x02e
map ctrl+shift+o send_text all \x02o
map ctrl+shift+n send_text all \x02G
map ctrl+shift+h send_text all \x02p
map ctrl+shift+l send_text all \x02n
map ctrl+shift+j send_text all \x02j
map ctrl+shift+k send_text all \x02k
map super+enter send_text all \x02%
map ctrl+shift+w send_text all \x02W
map ctrl+shift+r send_text all \x02T
map ctrl+shift+, send_text all \x02S
map ctrl+shift+q send_text all \x02x
map ctrl+shift+p send_text all \x02P
# ctrl+h/j/k/l are herdr's vim-herdr-navigation bindings — kitty must not grab
# them, so no split-navigation maps live in this config.
# BEGIN_KITTY_FONTS
font_family family="VictorMono Nerd Font Mono"
bold_font auto
italic_font auto
bold_italic_font auto
# END_KITTY_FONTS
include themes/cyberdream.conf