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:
parent
2434b85ceb
commit
acd332ed4a
|
@ -60,6 +60,11 @@ bind j select-pane -D
|
||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
bind l select-pane -R
|
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 '%%'"
|
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
|
||||||
|
|
||||||
# reload config
|
# reload config
|
||||||
|
|
Loading…
Reference in New Issue
Block a user