tmux: h/v to split and left/right to swap windows

This commit is contained in:
DuckDuckWhale 2022-05-14 20:12:46 -07:00
parent 70111d9b37
commit a29aa32b61
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -14,13 +14,11 @@ unbind Right
bind C-q send-prefix bind C-q send-prefix
bind S set status bind S set status
# Reload with ctrl-r
bind r source-file ~/.tmux.conf \; display "Reloaded tmux config." bind r source-file ~/.tmux.conf \; display "Reloaded tmux config."
bind s setw synchronize-panes bind s setw synchronize-panes
bind _ split-window -v bind h split-window -h
bind | split-window -h bind v split-window -v
bind H split-window -f -h bind H split-window -f -h
bind V split-window -f -v 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-j select-pane -D
bind -r C-k select-pane -U bind -r C-k select-pane -U
bind -r C-l select-pane -R bind -r C-l select-pane -R
bind -r Left swap-window -dt -1
bind -r Right swap-window -dt +1