tmux: Respawn dead pane on Enter
This commit is contained in:
@@ -259,6 +259,7 @@ bind S set -w synchronize-panes
|
|||||||
# Require confirmation before killing a pane
|
# Require confirmation before killing a pane
|
||||||
set -g remain-on-exit on
|
set -g remain-on-exit on
|
||||||
bind -n C-d if -F "#{pane_dead}" { kill-pane } { send }
|
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
|
# Change installation location of plugins
|
||||||
setenv -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CONFIG_HOME/tmux/plugins/"
|
setenv -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CONFIG_HOME/tmux/plugins/"
|
||||||
|
|||||||
Reference in New Issue
Block a user