diff --git a/sh/tmux.sh b/sh/tmux.sh index bb80678..8eb7761 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -59,8 +59,9 @@ set-window-option -g window-status-style bg=black,fg=gray # bind key to detach client bind -n F6 detach-client -#bind-key -n C-S-Left swap-window -t -1 -#bind-key -n C-S-Right swap-window -t +1 +# swap window with next or previous +bind-key C-S-Left swap-window -t -1 +bind-key C-S-Right swap-window -t +1 # create new window with F2 bind -n F2 new-window