mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
KEYMAP may be "main" or "viins" in VI-Mode.
This commit is contained in:
parent
0b37ca2869
commit
ffc0d9e162
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue