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.master
parent
32bf43660f
commit
0c5730708f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue