function zle-line-init zle-keymap-select {
mode_vi=${${KEYMAP/vicmd/+}/(main|viins)/-}
[[ $timer ]] && timer_show=$(( $SECONDS - $timer ))
function zle-line-init zle-keymap-select {
mode_vi=${${KEYMAP/vicmd/+}/(main|viins)/-}
[[ $timer ]] && timer_show=$(( $SECONDS - $timer ))