From 8bf2d214b677d9494c6f5c13d4916fe69c25e1a8 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 20 Nov 2022 12:23:08 -0500 Subject: [PATCH] Swap windows in tmux --- tmux/.config/tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 2925b62..1edb4b0 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -38,5 +38,9 @@ bind j select-pane -D # bottom pane bind k select-pane -U # top pane bind l select-pane -R # right pane +# move windows +bind H swap-window -t -1\; last-window +bind L swap-window -t +1\; last-window + # neovim set-option -g focus-events on