mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
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.
This commit is contained in:
parent
5337033ee4
commit
d204ecdb5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user