diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-09-23 19:26:27 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-09-23 19:26:27 +0300 |
commit | ffc0d9e162e8e80b7554a33a863e57911813c68d (patch) | |
tree | 407b997bba4f136c47465e0409668ed3a0e22e47 | |
parent | 0b37ca2869577426cebca6a7d15cc92f5ab51b91 (diff) |
KEYMAP may be "main" or "viins" in VI-Mode.
-rw-r--r-- | powerlevel9k.zsh-theme | 4 |
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 |