chat.tmux.conf: Improve respawn, fix comment

Only respawn the pane not the entire window to avoid killing other
possibly existing panes in the same window.
weechat-hashes
Klemens Nanni 2021-02-02 01:17:13 +01:00 committed by C. McEnroe
parent 32bf43660f
commit 0c5730708f
1 changed files with 3 additions and 3 deletions

View File

@ -27,12 +27,12 @@ set-hook -g -- pane-died respawn-pane
bind-key -n -N 'confirm INTR key' -- C-c \
confirm-before -p 'Send ^C? (y/N)' -- 'send-keys -- C-c'
# intuitive refresh, just don't spam it ;-)
# one-click version of default `C-b w' (shows preview windows)
bind-key -n -N 'pick chat network' -- F1 choose-tree -Z
# one-click version of default `C-b w' (shows preview windows)
# intuitive refresh, just don't spam it ;-)
bind-key -n -N 'reconnect network' -- F5 \
confirm-before -p 'reconnect network? (y/N)' -- 'respawn-window -k'
confirm-before -p 'reconnect network? (y/N)' -- 'respawn-pane -k'
# immersive mode ;-)
bind-key -n -N 'toggle fullscreen' -- F11 set status