tmux: Make <prefix>[hjkl] bindings repeatable

I sometimes need the `<prefix>[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.
This commit is contained in:
2022-09-08 16:41:06 +02:00
parent eca58c09f8
commit 048933e67d

View File

@@ -80,10 +80,10 @@ bind -T copy-mode-vi Escape \
# NOTE: C-[hjkl] (w/o prefix) moves through vim splits and tmux panes # NOTE: C-[hjkl] (w/o prefix) moves through vim splits and tmux panes
# See vim-tmux-navigator # See vim-tmux-navigator
unbind l unbind l
bind h selectp -L bind -r h selectp -L
bind j selectp -D bind -r j selectp -D
bind k selectp -U bind -r k selectp -U
bind l selectp -R bind -r l selectp -R
# Resize mode similar to my i3 config # Resize mode similar to my i3 config
bind -T resize h resizep -L \; switchc -T resize bind -T resize h resizep -L \; switchc -T resize