From 9a6e371e1a7198ca29c1dcd5a66ef55da3b0d238 Mon Sep 17 00:00:00 2001 From: clutton Date: Sat, 11 Feb 2017 01:44:49 +0200 Subject: [PATCH] changing the state to INSERT MODE if finish is triggered --- plugins/vi-mode/vi-mode.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh index d975380d..04b67611 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -44,6 +44,10 @@ zle-line-init () { override-vi-mode-zle-line-init }; zle -N zle-line-init +zle-line-finish () { + zle -K viins +}; zle -N zle-line-finish + autoload -U select-quoted zle -N select-quoted for m in visual viopp; do