From 1af5fb64b7b11c758404267002fcb5174053a9b6 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sun, 10 Dec 2023 10:37:05 +0100 Subject: [PATCH] vi-bindings: Make "/" open pager and go to insert mode Fixes #10141 (cherry picked from commit dbdef5d267d846cf0e1f888915b0b4a1f9437061) --- share/functions/fish_vi_key_bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 998d30a66..f85dcf3de 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -91,7 +91,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' bind -s --preset [ history-token-search-backward bind -s --preset ] history-token-search-forward - bind -s --preset / history-pager + bind -s --preset -m insert / history-pager repaint-mode bind -s --preset k up-or-search bind -s --preset j down-or-search