summary refs log tree commit diff
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2021-02-02 01:17:13 +0100
committerJune McEnroe <june@causal.agency>2021-02-03 14:31:44 -0500
commit0c5730708fc82be9b3e35249e5c51511c41bd6c9 (patch)
tree1381f5ebd8acbc7bb120d105e9153abc379a77ba
parentAlso skip marking swap window (diff)
downloadcatgirl-0c5730708fc82be9b3e35249e5c51511c41bd6c9.tar.gz
catgirl-0c5730708fc82be9b3e35249e5c51511c41bd6c9.zip
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.
-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