softmoth/zsh-vim-mode

Cursor is hidden in the first prompt with Powerlevel10k

Closed this issue · 3 comments

  • The cursor is hidden in the first prompt when used with Powerlevel10k. It only appears if the mode is changed (to normal then insert) or in the next prompt after entering a command).

  • Screenshots:
    Screenshot_20210302_091113
    Screenshot_20210302_094618

  • Atached are my zshrc and powerlevel10k configuration files:
    zshrc.txt
    p10k.zsh.txt

  • Update:
    Disabling instant prompt of powerlevel10k solved the issue, but it was compatible before. Also tried jeffreytse/zsh-vi-mode, and it's working fine.

Hi, sorry I didn't notice this sooner. I'll try to reproduce this problem. Thank you for letting me know!

Hi, I just pushed a fix for this. It was a weird one, and I'm not sure why it happens in powerlevel10k, but I removed the event that was triggering it from zsh-vim-mode, so hopefully it's a better citizen in the ZLE widget hook community.

Thanks for reporting the problem!

  • Tried the latest commit just now, and it's working fine.
  • Thanks for your hard work 😁!.