]> git.rmz.io Git - dotfiles.git/commitdiff
tmux: add binding to reorder windows
authorSamir Benmendil <me@rmz.io>
Wed, 21 Aug 2024 12:32:55 +0000 (13:32 +0100)
committerSamir Benmendil <me@rmz.io>
Wed, 21 Aug 2024 12:32:55 +0000 (13:32 +0100)
tmux/tmux.conf

index 9f43fdfd8436c0068ca152463455b3f05d02401f..7bf58fd67eef7a11404bc68b271c112115ee014c 100644 (file)
@@ -38,6 +38,7 @@ bind-key l select-pane -R
 # moving between windows with vim movement keys
 bind-key -r C-h select-window -t :-
 bind-key -r C-l select-window -t :+
+bind-key r move-window -r  # reorder windows
 
 # resize panes with vim movement keys
 bind-key -r H resize-pane -L 5