From 0e963ec516fb8bc9a4bbb4bb4fba537f1af08f04 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 25 Dec 2024 22:30:02 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-25 22:30:02 --- .config/tmux/tmux.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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