tmux: Respawn dead pane on Enter

This commit is contained in:
2024-09-12 12:59:22 +02:00
parent c6b317f794
commit f5673c2082

View File

@@ -259,6 +259,7 @@ bind S set -w synchronize-panes
# Require confirmation before killing a pane
set -g remain-on-exit on
bind -n C-d if -F "#{pane_dead}" { kill-pane } { send }
bind -n Enter if -F "#{pane_dead}" { respawn-pane } { send }
# Change installation location of plugins
setenv -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CONFIG_HOME/tmux/plugins/"