changing the state to INSERT MODE if finish is triggered

This commit is contained in:
clutton 2017-02-11 01:44:49 +02:00
parent 1785665caf
commit 9a6e371e1a
No known key found for this signature in database
GPG Key ID: 7DB03F8DB2C8FE90

View File

@ -44,6 +44,10 @@ zle-line-init () {
override-vi-mode-zle-line-init override-vi-mode-zle-line-init
}; zle -N zle-line-init }; zle -N zle-line-init
zle-line-finish () {
zle -K viins
}; zle -N zle-line-finish
autoload -U select-quoted autoload -U select-quoted
zle -N select-quoted zle -N select-quoted
for m in visual viopp; do for m in visual viopp; do