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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user