Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VI-mode visual mode prompt #312

Open
phortonssf opened this issue Dec 25, 2022 · 2 comments
Open

VI-mode visual mode prompt #312

phortonssf opened this issue Dec 25, 2022 · 2 comments
Labels
🚀 enhancement performance, UX or maintainability 🙏 help wanted needs PR or help on decision

Comments

@phortonssf
Copy link

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 phortonssf changed the title VI-mode visual mode VI-mode visual mode prompt Dec 25, 2022
@edouard-lopez edouard-lopez added 🙏 help wanted needs PR or help on decision 🚀 enhancement performance, UX or maintainability labels Dec 26, 2022
@edouard-lopez
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement performance, UX or maintainability 🙏 help wanted needs PR or help on decision
Projects
None yet
Development

No branches or pull requests

2 participants