diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index aa8889b..c28286e 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -249,6 +249,10 @@ bind -r C-v command-prompt -k -p (selfinsert) { send "%%" } # Synchronize the panes in the current window with `S` 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 } + # Change installation location of plugins setenv -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CONFIG_HOME/tmux/plugins/"