From 6bd5031d4e7beda4d88179519e43b354530a1b07 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 17 Feb 2022 15:29:12 +0100 Subject: [PATCH] tmux: Allow vims's `hjkl` to navigate panes --- .config/tmux/tmux.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 923042a..2f65246 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -24,6 +24,17 @@ bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D +unbind -T prefix l +bind -T prefix h select-pane -L +bind -T prefix j select-pane -D +bind -T prefix k select-pane -U +bind -T prefix l select-pane -R +# Allow holding Ctrl after pressing the prefix +bind -T prefix C-h select-pane -L +bind -T prefix C-j select-pane -D +bind -T prefix C-k select-pane -U +bind -T prefix C-l select-pane -R + # Resize panes with Alt-Shift- bind -n M-S-Left resize-pane -L