jeffreytse / zsh-vi-mode

đŸ’» A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.94k stars 102 forks source link

cursors conflict with zsh-users/zsh-autosuggestions? #199

Open whoizit opened 1 year ago

whoizit commented 1 year ago

General information

Basic examination

Problem description

Reproduction steps

1. .zshrc:

# Download Znap, if it's not there yet.
[[ -f $ZDOTDIR/znap/znap.zsh ]] ||
    git clone --depth 1 -- https://github.com/marlonrichert/zsh-snap.git $ZDOTDIR/znap

source $ZDOTDIR/znap/znap.zsh  # Start Znap

# `znap prompt` makes your prompt visible in just 15-40ms!
znap prompt sindresorhus/pure 

znap source jeffreytse/zsh-vi-mode

# `znap source` automatically downloads and starts your plugins.
znap source marlonrichert/zsh-autocomplete 
znap source zsh-users/zsh-autosuggestions 
znap source zsh-users/zsh-syntax-highlighting 

2. If I move string znap source jeffreytse/zsh-vi-mode after znap source zsh-users/zsh-autosuggestions, I lost any cursors (block and insert). When it's the other way around, everything works fine. 3.

Expected behavior

I expect to see cursors

jeffreytse commented 11 months ago

Hi @whoizit

Sorry for the late reply, thanks for your reporting, could you try again with the latest update? Let's see if this issue is settled.

Thanks & Regards