From acd332ed4a4bb6f957b64b1af958c3e9daa81095 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 11 Nov 2024 09:44:53 +0100 Subject: [PATCH] tmux: add H, J, K, L keybindings to swap panes --- tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmux.conf b/tmux.conf index f27fa89..a7d4337 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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