diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e070940..ccb3032 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -3,6 +3,10 @@ set-option -g default-terminal "screen-256color" set -g pane-border-status +# reorder window numbers when a window is deleted +# [0 1 2] -- [delete 1] --> [0 1] instead of [0 2] +set-option -g renumber-windows on + bind c new-window -c "#{pane_current_path}" bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}"