From d204ecdb5b974dafcf55da5974f809e70d9b44a1 Mon Sep 17 00:00:00 2001 From: Cameron Moon Date: Tue, 8 Aug 2017 12:20:14 +1000 Subject: [PATCH] Enable vi mode display for hybrid_bindings Vi mode display should be enabled for people using the hybrid_bindings function found in the fish documentation. --- fish_prompt.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/fish_prompt.fish b/fish_prompt.fish index b0e4896..c574679 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -586,6 +586,7 @@ end function __bobthefish_prompt_vi -S -d 'Display vi mode' [ "$theme_display_vi" != 'no' ]; or return [ "$fish_key_bindings" = 'fish_vi_key_bindings' \ + -o "$fish_key_bindings" = 'hybrid_bindings' \ -o "$fish_key_bindings" = 'fish_hybrid_key_bindings' \ -o "$theme_display_vi" = 'force' ]; or return switch $fish_bind_mode