mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
* Default to showing vi mode prompt (if the current bind mode is vi). Allow overriding by setting it `theme_display_vi` to `no`. * Remove `theme_display_vi_hide_mode`, because I don't like the prompt jumping around when changing modes. * Override `fish_mode_prompt` because we're already handling it inside `fish_prompt`. Add a note so future code archeologists can figure out how to override. * Add support for `replace-one` bind mode. Fixes #65
9 lines
265 B
Fish
9 lines
265 B
Fish
# This is handled inside fish_mode_prompt (see `__bobthefish_prompt_vi`)
|
|
#
|
|
# If you want to override this with your own mode prompt, disable bobthefish's
|
|
# built-in mode prompt in your fish config:
|
|
#
|
|
# set -g theme_display_vi no
|
|
|
|
function fish_mode_prompt; end
|