mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
feat(config): add television cable integration and related keybindings across shells
This commit is contained in:
1 parent
f033b29a7d
commit
3c4af515fa
12 files changed
+137
-21
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user