From 0c5730708fc82be9b3e35249e5c51511c41bd6c9 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Tue, 2 Feb 2021 01:17:13 +0100 Subject: [PATCH] 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. --- scripts/chat.tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/chat.tmux.conf b/scripts/chat.tmux.conf index 5307136..db5cca2 100644 --- a/scripts/chat.tmux.conf +++ b/scripts/chat.tmux.conf @@ -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