michalspano / dotfiles

🔧 dotfiles, scripts, env config, etc. ~ [unix & macOS]
MIT License
2 stars 0 forks source link

Add Vi mode indicator to ZSH #22

Closed michalspano closed 5 months ago

michalspano commented 5 months ago

Add Vi mode indicator to ZSH

Add a visual indicator to the current prompt of my zsh configuration that would display the current vi mode.

It can be similar to the current fish config., namely:

Screenshot 2024-01-23 at 08 13 28 Screenshot 2024-01-23 at 08 13 37 Screenshot 2024-01-23 at 08 13 45
michalspano commented 5 months ago

I did not get the visual mode indicator to work (with omz's vi-mode). However, the text highlight should be enough of a visual cue.

michalspano commented 5 months ago

For the sake of brevity, I'll not open a PR with a branch, just commit to main, link the commit to this issue, and close the issue afterwards.

michalspano commented 5 months ago

Closing!