zsh-vi-mode
zsh-vi-mode copied to clipboard
Latest commit causes new sessions to start in normal mode
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 ==> iTerm + Kitty
Problem description
The latest commit (c8ca1a1) breaks the standard functionality. Normally, a new shell session starts in insert mode, but the latest change causes it to start in normal mode.
Reproduction steps
- Pull latest version
- Open new shell session with zsh-vi-mode running
Expected behavior
Shell session should be in insert mode.
Changing line 3604 to the following will correct the issue.
case $ZVM_LINE_INIT_MODE in
$ZVM_MODE_INSERT) ZVM_MODE=$ZVM_MODE_NORMAL;;
*) ZVM_MODE=$ZVM_MODE_INSERT;;
esac
Hi @parispjones
This issue has been addressed and settled now. : )
Thanks & Regards