From bbc5e0c1e1f511a41618afc028bd93c626ea6dbb Mon Sep 17 00:00:00 2001 From: Nazarii Bardiuk Date: Mon, 21 Mar 2022 22:25:36 +0000 Subject: [PATCH] tmux: fix broken vi bindings (#2817) Keybindings have wrong order of arguments: the -N flag should go before the binding key --- modules/programs/tmux.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/programs/tmux.nix b/modules/programs/tmux.nix index 91b1487e0..bf98a3f37 100644 --- a/modules/programs/tmux.nix +++ b/modules/programs/tmux.nix @@ -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}