From 048933e67deed0ae31fcc1d8dccee80bea70a905 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 8 Sep 2022 16:41:06 +0200 Subject: [PATCH] tmux: Make `[hjkl]` bindings repeatable I sometimes need the `[hjkl]` bindings over `C-[hjkl]` (e.g. vim insert mode). Then it is nice to have them repeatable when navigating to a pane further away. --- .config/tmux/tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 5443a67..a3c1f5b 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -80,10 +80,10 @@ bind -T copy-mode-vi Escape \ # NOTE: C-[hjkl] (w/o prefix) moves through vim splits and tmux panes # See vim-tmux-navigator unbind l -bind h selectp -L -bind j selectp -D -bind k selectp -U -bind l selectp -R +bind -r h selectp -L +bind -r j selectp -D +bind -r k selectp -U +bind -r l selectp -R # Resize mode similar to my i3 config bind -T resize h resizep -L \; switchc -T resize