fix(zsh): use zvm_config for ZSH-VIM insert mode

This commit is contained in:
Michel 2023-04-06 20:31:15 +02:00
parent 0e76e122ee
commit 1e4a294d99
1 changed files with 3 additions and 2 deletions

5
.zshrc
View File

@ -96,8 +96,9 @@ fi
#
# https://github.com/jeffreytse/zsh-vi-mode
# ZVM_INIT_MODE=sourcing
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
function zvm_config() {
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
}
# bindkey for other modules
function zvm_after_init {