From ac4c473ecda6e551aa450876380a62cd5134e304 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 17 Jan 2025 19:51:17 +0100 Subject: [PATCH] tmux/swap --- sh/tmux.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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