aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-09-23 19:26:27 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-09-23 19:26:27 +0300
commitffc0d9e162e8e80b7554a33a863e57911813c68d (patch)
tree407b997bba4f136c47465e0409668ed3a0e22e47 /powerlevel9k.zsh-theme
parent0b37ca2869577426cebca6a7d15cc92f5ab51b91 (diff)
KEYMAP may be "main" or "viins" in VI-Mode.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 7fb283dd..9e3a034b 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -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