mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
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:
parent
64823066c2
commit
bbc5e0c1e1
1 changed files with 4 additions and 4 deletions
|
@ -58,10 +58,10 @@ let
|
||||||
|
|
||||||
${optionalString
|
${optionalString
|
||||||
(cfg.keyMode == "vi" && cfg.customPaneNavigationAndResize) ''
|
(cfg.keyMode == "vi" && cfg.customPaneNavigationAndResize) ''
|
||||||
bind h -N "Select pane to the left of the active pane" select-pane -L
|
bind -N "Select pane to the left of the active pane" h select-pane -L
|
||||||
bind j -N "Select pane below the active pane" select-pane -D
|
bind -N "Select pane below the active pane" j select-pane -D
|
||||||
bind k -N "Select pane above the active pane" select-pane -U
|
bind -N "Select pane above the active pane" k select-pane -U
|
||||||
bind l -N "Select pane to the right of the active pane" select-pane -R
|
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}" \
|
bind -r -N "Resize the pane left by ${toString cfg.resizeAmount}" \
|
||||||
H resize-pane -L ${toString cfg.resizeAmount}
|
H resize-pane -L ${toString cfg.resizeAmount}
|
||||||
|
|
Loading…
Reference in a new issue