feat(config): add television cable integration and related keybindings across shells

This commit is contained in:
Prad Nukala committed 2026-09-30 11:14:14 -04:00
1 parent f033b29a7d
commit 3c4af515fa
12 files changed
+137 -21

No files matched your search

+5 -4
View File
@@ -4,10 +4,11 @@ from kittens.tui.handler import result_handler
from kitty.key_encoding import KeyEvent, parse_shortcut
# Windows whose foreground process owns <C-h/j/k/l> itself: (n)vim and fzf move
# their own splits/selection, and tmux/herdr run the same vim-aware handoff one
# layer down (tmux.conf `is_vim`, vim-herdr-navigation). Anything else means
# kitty owns the panes, so kitty moves its own window.
PASSTHROUGH = r'\b(vim|nvim|fzf|tmux|herdr)\b'
# their own splits/selection, tv binds ctrl-h to goto_parent_dir, and tmux/herdr
# run the same vim-aware handoff one layer down (tmux.conf `is_vim`,
# vim-herdr-navigation). Anything else means kitty owns the panes, so kitty
# moves its own window.
PASSTHROUGH = r'\b(vim|nvim|fzf|tv|tmux|herdr)\b'
# Return True if any foreground process in the window matches PASSTHROUGH