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

Support starship integration with fish vi_mode variables #2

Open
varon opened this issue Mar 24, 2023 · 1 comment
Open

Support starship integration with fish vi_mode variables #2

varon opened this issue Mar 24, 2023 · 1 comment

Comments

@varon
Copy link

varon commented Mar 24, 2023

https://starship.rs/config/#character

Note that we can configure this shell prompt by setting the various vi-mode symbols. This is very helpful when working in vi-mode in fish.

It would be great if these were set too.

@sshilovsky
Copy link
Owner

Currently $fish_bind_mode is set to default, insert, or visual. What variables does starship expect?

llakala added a commit to llakala/nixos that referenced this issue Jan 4, 2025
fish_helix_key_bindings doesn't integrate with Starship, so I need to
ensure the cursor tells me which mode I'm in.

I don't understand *why* it doesn't integrate with Starship. There's
an issue about it on the repo
(sshilovsky/fish-helix#2), and the maintainer
is right - fish-helix DOES set the mode correctly. But, starship doesn't
seem to pick it up? No clue why. If anyone sees this and is able to
figure out why, please let me know somehow! Make an issue or whatever,
I'm happy to personally make the PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants