Swap window tmux
This commit is contained in:
@ -116,8 +116,12 @@ 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
|
||||||
|
|
||||||
|
# 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
|
# 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
|
||||||
|
Reference in New Issue
Block a user