diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index f16933f..539c97b 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -116,10 +116,14 @@ bind -n S-Left previous-window bind -n S-Right next-window # Ctrl-Shift arrow to swap windows -bind-key -n C-S-Left swap-window -t -1 -bind-key -n C-S-Right swap-window -t +1 +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 -# loop through current window's panes while zoomed +# swap window to left or right +bind-key -r < swap-window -t -1\; select-window -t -1 +bind-key -r > swap-window -t +1\; select-window -t +1 + + # loop through current window's panes while zoomed bind -r "'" select-pane -t .+1 \; resize-pane -Z bind -r ";" select-pane -t .-1 \; resize-pane -Z