summary refs log tree commit diff
path: root/scripts/chat.tmux.conf
diff options
context:
space:
mode:
authorKlemens Nanni2021-02-02 01:17:13 +0100
committerC. McEnroe2021-02-03 14:31:44 -0500
commit0c5730708fc82be9b3e35249e5c51511c41bd6c9 (patch)
tree1381f5ebd8acbc7bb120d105e9153abc379a77ba /scripts/chat.tmux.conf
parent32bf43660fabe2478cd3d5e7993e7cc4fbb3e3eb (diff)
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.
Diffstat (limited to 'scripts/chat.tmux.conf')
-rw-r--r--scripts/chat.tmux.conf6
1 files 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