Skip to content

Commit

Permalink
Renumber windows when a window is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jendker committed Dec 10, 2024
1 parent 764b089 commit 99974c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stow/common/dot-tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ set -g mouse on
# Attempt to set the terminal clipboard content using the xterm escape sequence
set -g set-clipboard on

# Renumber windows when a window is closed
set-option -g renumber-windows on

bind-key -n C-S-Left swap-window -t -1\; select-window -t -1
bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
bind-key @ choose-window 'join-pane -h -s "%%"'
Expand Down

0 comments on commit 99974c0

Please sign in to comment.