KEYMAP may be "main" or "viins" in VI-Mode.

pull/22/head
Dominik Ritter 9 years ago
parent 0b37ca2869
commit ffc0d9e162

@ -814,10 +814,10 @@ prompt_time() {
# Vi Mode: show editing mode (NORMAL|INSERT)
prompt_vi_mode() {
case ${KEYMAP} in
main)
main|viins)
"$1_prompt_segment" "$0_INSERT" "$DEFAULT_COLOR" "blue" "INSERT"
;;
*)
vicmd)
"$1_prompt_segment" "$0_NORMAL" "$DEFAULT_COLOR" "default" "NORMAL"
;;
esac

Loading…
Cancel
Save