pure icon indicating copy to clipboard operation
pure copied to clipboard

VI-mode visual mode prompt

Open phortonssf opened this issue 3 years ago • 2 comments

In vi mode, is there a way to set the prompt for VISUAL mode like there is for CMD and INSERT modes? Or I'm I stuck with visual mode always looking like CMD mode? Ty

phortonssf avatar Dec 25 '22 01:12 phortonssf

We do not support this at the moment. You can fall back to Fish native mechanism by disabling pure vimode prompt:

set --universal pure_reverse_prompt_symbol_in_vimode false

pure-vimode-fallback-prompt

Better Support?

If you would like to propose an MR, we could work toward adding support. I recommend you have a look at the following links.

Note: I'm not actively using vi mode as I'm using Fish with Tmux and copy/paste don't work as I expected (probably some overlapping binding issue).

Fish

I'm not really fan of Fish fish_default_mode_prompt prompt prefix.

Pure's code

Inspiranion on Zsh implementation

[ Help needed ]/Feature request: add more vim mode indicators #552

edouard-lopez avatar Dec 26 '22 11:12 edouard-lopez

Without PR on this, I'm going to close this in the coming fortnight.

Feel free to reopen if you want to work on it

edouard-lopez avatar Aug 31 '23 10:08 edouard-lopez