tmux: Kill dead pane with Escape too
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user