Skip to content

Commit

Permalink
fix: session starts in normal mode (#245)
Browse files Browse the repository at this point in the history
* Resolve "session starts in normal mode" issue

* Update zsh-vi-mode.zsh

---------

Co-authored-by: JT <jeffreytse.mail@gmail.com>
  • Loading branch information
VeryDampTowel and jeffreytse authored Sep 28, 2023
1 parent c8ca1a1 commit a3d7178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-vi-mode.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3602,7 +3602,7 @@ function zvm_init() {
zvm_bindkey viins '^?' backward-delete-char

# Initialize ZVM_MODE value
case $ZVM_LINE_INIT_MODE in
case ${ZVM_LINE_INIT_MODE:-$ZVM_MODE_INSERT} in
$ZVM_MODE_INSERT) ZVM_MODE=$ZVM_MODE_INSERT;;
*) ZVM_MODE=$ZVM_MODE_NORMAL;;
esac
Expand Down

0 comments on commit a3d7178

Please sign in to comment.