diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 1721ba10..636640c4 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -124,9 +124,10 @@ bind Down resize-pane -D 5 # Focus windows bind -n M-u next-window -bind -n M-U swap-window -t - bind -n M-l previous-window -bind -n M-L swap-window -t + +# Swap window left/right (keeping focus) +bind -n M-U swap-window -t + \; next-window +bind -n M-L swap-window -t - \; previous-window # Swap active pane with direction bind C-j swap-pane -t left