zsh-vi-mode
zsh-vi-mode copied to clipboard
zvm plugin cannot work with zsh git plugin, and cannot source the .zshrc file.
General information
Basic examination
zvm plugin cannot work with zsh git plugin, and cannot source the .zshrc file.
- [x] I have read through the README page
- [x] I have the latest version of zsh-vi-mode
- [ ] I have tested with another terminal program
Problem description
Everytime I source the .zshrc in my home dir, this ZVM plugin stop working properly and the cursor begin to flash. If I close the terminal and restart, it works fine. I cannot use both git and ZVM plugins the same time. It just doesn't work and the cursor flashing all the time and I can not change to other mode.
Reproduction steps
- install zsh and oh-my-zsh
- install plugin zvm
- install plugin git
- source the .zshrc in home dir.
Expected behavior
- The cursor is a thin block
- Can change to normal or visual mode using esc or v
The config related in my .zshrc is like this.
ZVM_INIT_MODE=sourcing ZVM_LAZY_KEYBINDINGS=false ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
plugins=() plugins+=(zsh-vi-mode) plugins+=(z) plugins+=(extract) plugins+=(zsh-autosuggestions) plugins+=(zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
I had the same issue and solved it by loading zsh-vi-mode
before the conflicting plugins
Hi @meicale
Thanks for your issue, and sorry for the late reply, currently I'm quite busy, I will research your issue when I am possible. Hope you have a good day! : )
Thanks and Regards