Closed ajvondrak closed 9 months ago
Might be related to / a duplicate of #213?
Hi @ajvondrak
Thanks for your reporting. I still need some time to investigate this issue, please be patient for the update.
Thanks & Regards
Understood & much appreciated. 🙏 In the meantime, I can work locally by just reverting the commit in question, so I'm not really hurting too much. Thanks for all the great work on this plugin!
Message ID: @.***>
Hi @ajvondrak,
Could you please check again with the latest commit? See if your issue has been settled down. : )
Thanks & Regards
Just tried against a3d717831c1864de8eabf20b946d66afc67e6695, and my prompt works! 🎉
And to double-check, I went ahead and did a git checkout HEAD^
on zsh-vi-mode a few times by hand until the prompt stopped working. Findings:
Indicating that fb2f825bf01012786b9a327e5e3c2085d8d18ae5 was indeed the first commit to fix my problem (as noted, #243 tracked the fix to this issue as well). 👍
Thanks so much for the work here!
General information
2b55d9d9
Basic examination
Problem description
I have a custom
PROMPT
that relies onprompt_subst
to change based on whether I'm in Vi mode. However, upon upgrading zsh-vi-mode, this prompt stopped switching at all.Reproduction steps
<esc>
/i
to toggle between insert mode & vi cmd mode.vi cmd mode:
andinsert mode:
insert mode:
zgenom reset
and everything to make sure I'm running an up-to-date zsh-vi-mode plugin), the above test toggles the prompt properly.Expected behavior
I'm not sure what issue #180 was fixing (I don't use tmux), but the fix that got merged appears to cause this regression. It looks related to the prompt-resetting logic changes.