Skip to content

More informative VI mode indicator #625

@rbpatt2019

Description

@rbpatt2019

Feature Request

Is your feature request related to a problem? Please describe.

Recognise this might be a Fish-specific problem. Delving onwards...

Migrating from SpaceFish, where the vi-mode indicator gave feed back on whether you were in replace, visual, insert or normal mode, as described here. I must admit, I'm a big fan of the character switching between insert and normal mode! But it gives me confusing information on visual or replace mode.

If you are in normal mode and then switch into either visual or replace mode, the prompt character switches back to insert mode. This is incredibly confusing, as there is now no clear indication of whether you are in insert, replace, or visual. When you then exit visual/replace mode, it switches back to the normal mode character, as expected.

Describe the solution you'd like

Solution A: Allow custom configuration of characters for each mode. Basically, the currently implementation expanded to have a character for visual and replace modes.

Solution B: Allow inclusion of the default fish_mode_prompt, though I suspect this would be more complicated.

Describe alternatives you've considered

I have manually configured fish_mode_prompt, but this is blocked/disabled by Starship.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions