zsh-vi-mode
zsh-vi-mode copied to clipboard
Conflict with Zzh-autopair
General information
Basic examination
- [x] I have read through the README page
- [x] I have the latest version of zsh-vi-mode
- [x] I have tested with another terminal program
Problem description
All my plugins were working properly until I introduced this plugin into the mix. Basically, this plugin conflicts with (zsh-autopair)[https://github.com/hlissner/zsh-autopair] . When I remove this plugin zsh-vi-mode
, zsh-autopair
works. The autopair plugin does not get initialized if I enable this plugin.
For example as soon as I press quotation mark "
I should get another "
right next to the cursor i.e. autopair. However, when I enable this, the pair does not show up unless I run source ~/.zshrc
or initialize the autopair with autopair-init
Reproduction steps
- Add this to
~/.zshrc
file:
source ~/.zsh-autopair/autopair.zsh
source ~/.zsh-vi-mode/zsh-vi-mode.plugin.zsh
autopair-init
- Close terminal and re-open
- Try to trigger autopair by typing
'
,"
,(
, etc. - Notice no pair - need to manually source or initialize autopair to fix
Expected behavior
Autopair to trigger as soon as you open a terminal. I don't mind initializing autopair but it should do it on its own based on the ~/.zshrc
settings. Apart from that, I am loving the plugin so far! Keep up the good work 😄