From f5673c2082884511ccf7b2fec69c53051fe95b7b Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 12 Sep 2024 12:59:22 +0200 Subject: [PATCH] tmux: Respawn dead pane on Enter --- .config/tmux/tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 9208d4b..5e2bccb 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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/"