Swap window tmux

This commit is contained in:
Christian Nieves
2023-05-10 12:06:28 -05:00
parent 05f764c38f
commit b78fa468a5

View File

@ -116,10 +116,14 @@ bind -n S-Left previous-window
bind -n S-Right next-window bind -n S-Right next-window
# Ctrl-Shift arrow to swap windows # Ctrl-Shift arrow to swap windows
bind-key -n C-S-Left 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 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
bind -r ";" select-pane -t .-1 \; resize-pane -Z bind -r ";" select-pane -t .-1 \; resize-pane -Z