1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 04:21:31 +01:00

tmux: add H, J, K, L keybindings to swap panes

This commit is contained in:
bretello 2024-11-11 09:44:53 +01:00
parent 2434b85ceb
commit acd332ed4a
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -60,6 +60,11 @@ bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind H select-pane -m \; select-pane -L \; swap-pane \; select-pane -M\; select-pane -L
bind L select-pane -m \; select-pane -R \; swap-pane \; select-pane -M\; select-pane -R
bind K select-pane -m \; select-pane -U \; swap-pane \; select-pane -M\; select-pane -U
bind J select-pane -m \; select-pane -D \; swap-pane \; select-pane -M\; select-pane -D
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
# reload config