Skip to content

Commit cce4ab4

Browse files
authored
Add feature: swap window with C-S-left(right).
1 parent c93deb2 commit cce4ab4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tmux/tmux.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ bind -r [ select-pane -t :.-
8787
bind -r ] select-pane -t :.+
8888
bind -r Tab last-window # cycle thru MRU tabs
8989
bind -r C-o swap-pane -D
90+
bind-key -n C-S-Left swap-window -t -1
91+
bind-key -n C-S-Right swap-window -t +1
9092

9193
# hjkl pane traversal
9294
bind h select-pane -L

0 commit comments

Comments
 (0)