Open jerome-diver opened 3 years ago
Hi @jerome-diver
Thanks for the issue, actually, the vi mode state should be supported by your theme, but this plugin has also provided several aspects for you to configure your custom prompt of vi mode state, you can refer to here.
Here are some examples for you:
Thanks and Regards
Hi @jeffreytse and thank you for your help. Actualy, i read amll examples and i can not figure how to config my .p10k file to get a segment to show a zsh-vim-mode event status change. the configuration is inside powerlvele10k zsh file and there is a "example" segment able to print a segment (but this one only operate at prompt build time, then after to RETURN a command. I try to use the event zsh-vi-mode cfunction in both my .zshrc and .p10k file without any success (the segment is still not returned at event time, not sure if the function is working out of .zshrc file.
My ZSH script knowledge is not enough to undertstand good how it is working, so i'm locked. There is, inside powerlevel10k plugin theme, a 'vi-mode' segment existing (this one reflect only vi-mode as normal or insert or visual, not replace mode or any other.
Hi @jerome-diver
Thanks for your patience, I understand your concern, and I will take a look as soon as possible.
Thanks and Regards
@jeffreytse thank you
@jeffreytse sorry but it's working now with the vi-mode of powerlevel10k activated. (insert mode only show nothing, i think it is the normal design).
@jerome-diver It's great to hear your good news. Don't hesitate to tell me if you got stuck in any issues.
General information
Basic examination
tty from ssh access on FeeBSD-12.2 zsh used with Oh-my-zsh and antigen (installed from freebsd packages) zsh-5.8 add to oh-my-zsh as indicated (and also before from antigen pugin) with git cone inside ZSH_CUSTOM (plugins recognized by ohmyzsh)
Problem description
From my ohmyzsh powerlevel10k prompt shell, i can not see any zsh-vi-mode indication of state mode (normal mode/insert mode/replace mode, etc...). But the plugin is working... i should miss a point to configure ohmyzsh or maybe powerlevel10k (as i can not see any powerlevel10k indication).
Reproduction steps
Expected behavior
see in the prompt line somewhere the zsh-vi-mode mode state