tmux: Make <prefix>[hjkl] not repeatable

This is more than often annoying. For example when switching from a fzf
pane to a vim pane (i.e. needing these bindings instead of `C-[hjkl]`)
and then trying to move the cursor.

Reverts: 048933e67d ("tmux: Make `<prefix>[hjkl]` bindings repeatable")
This commit is contained in:
2024-10-21 12:58:04 +02:00
parent 96ebc4e824
commit 92289052ca

View File

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