From a29aa32b612c4c71c43b4b74bb9b0b3adfb0e3dd Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Sat, 14 May 2022 20:12:46 -0700 Subject: [PATCH] tmux: h/v to split and left/right to swap windows --- tmux/.tmux.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 8f791cf..7a7a197 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -14,13 +14,11 @@ unbind Right bind C-q send-prefix bind S set status -# Reload with ctrl-r bind r source-file ~/.tmux.conf \; display "Reloaded tmux config." bind s setw synchronize-panes -bind _ split-window -v -bind | split-window -h - +bind h split-window -h +bind v split-window -v bind H split-window -f -h bind V split-window -f -v @@ -28,3 +26,6 @@ bind -r C-h select-pane -L bind -r C-j select-pane -D bind -r C-k select-pane -U bind -r C-l select-pane -R + +bind -r Left swap-window -dt -1 +bind -r Right swap-window -dt +1