1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

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

This commit is contained in:
Dominik Ritter 2015-09-23 18:26:27 +02:00
parent 0b37ca2869
commit ffc0d9e162

View file

@ -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