From f92b02646721dc453ad7db8d58c748de550402cb Mon Sep 17 00:00:00 2001 From: bchanot Date: Fri, 13 Nov 2026 16:51:47 +0100 Subject: [PATCH] feat(tmux): prefix < > move current window left/right --- tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux.conf b/tmux.conf index e0f0eb8..5dd878e 100644 --- a/tmux.conf +++ b/tmux.conf @@ -142,6 +142,10 @@ bind-key -r C-p previous-window \; set status on # Cmd+arrow tab switching in that profile (Cmd+Shift+[ ] still work). bind-key -n M-Left previous-window \; set status on bind-key -n M-Right next-window \; set status on +# Move the current window one slot left/right; swap alone keeps focus on the +# slot, so select follows the window. Replaces the stock < > menus (right click). +bind-key -r < swap-window -t -1 \; select-window -t -1 +bind-key -r > swap-window -t +1 \; select-window -t +1 # Moving across panes (and vim), no prefix: ctrl + u/h/j/k laid out as arrows # (u up, h left, j down, k right). These keys sit at the same place on AZERTY