From fced5046746caeacda391a45de37a1936bf8199d Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 3 Sep 2025 10:07:53 +0200 Subject: [PATCH] tmux: Kill dead pane with Escape too --- .config/tmux/tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 8974471..d9328e4 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -361,10 +361,12 @@ bind S set -w synchronize-panes set -g remain-on-exit on if -F "#{>=:#{version},3.3}" { bind -n C-d if -F "#{pane_dead}" { kill-pane } { send } + bind -n Escape if -F "#{pane_dead}" { kill-pane } { send } bind -n Enter if -F "#{pane_dead}" { respawn-pane } { send } } { # omitting the key argument was introduced in 3.3 bind -n C-d if -F "#{pane_dead}" { kill-pane } { send C-d } + bind -n Escape if -F "#{pane_dead}" { kill-pane } { send Escape } bind -n Enter if -F "#{pane_dead}" { respawn-pane } { send Enter } }