From a6beb8a72643af2721096d15b0016fa268e72795 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Wed, 14 Feb 2024 02:46:50 +0100 Subject: [PATCH] tmux: add key binding to move windows around --- config/tmux/tmux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 5b49e2f..48c234c 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -31,12 +31,14 @@ bind -r C-j resize-pane -D 2 bind -r C-k resize-pane -U 2 bind -r C-l resize-pane -R 2 -# Arrangement of panes +# Arrangement of panes & windows bind b break-pane \; select-pane -m \; last-window bind H join-pane -h -b bind J join-pane -v bind K join-pane -v -b bind L join-pane -h +bind -r > swap-window -d -t :+ +bind -r < swap-window -d -t :- # Choosing layouts bind -r C-o rotate-window