tmux: fix broken vi bindings (#2817)

Keybindings have wrong order of arguments: the -N flag should go before
the binding key
This commit is contained in:
Nazarii Bardiuk 2022-03-21 22:25:36 +00:00 committed by GitHub
parent 64823066c2
commit bbc5e0c1e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,10 +58,10 @@ let
${optionalString
(cfg.keyMode == "vi" && cfg.customPaneNavigationAndResize) ''
bind h -N "Select pane to the left of the active pane" select-pane -L
bind j -N "Select pane below the active pane" select-pane -D
bind k -N "Select pane above the active pane" select-pane -U
bind l -N "Select pane to the right of the active pane" select-pane -R
bind -N "Select pane to the left of the active pane" h select-pane -L
bind -N "Select pane below the active pane" j select-pane -D
bind -N "Select pane above the active pane" k select-pane -U
bind -N "Select pane to the right of the active pane" l select-pane -R
bind -r -N "Resize the pane left by ${toString cfg.resizeAmount}" \
H resize-pane -L ${toString cfg.resizeAmount}