diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-08-02 18:56:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 18:56:10 +0300 |
commit | df9b99c2da1e1134e3910494cf19ac290bfc6050 (patch) | |
tree | 5e6a91a9ff3a28640ddab8d592a60648c9eab067 | |
parent | e1442c8e96480738657baada85f7ce0fb2605052 (diff) | |
parent | 0b298e7df423882ba797b80a4e4b5a9a0546b666 (diff) |
Merge pull request #580 from sei40kr/master
Fixed Vi mode indicator issue
-rwxr-xr-x | powerlevel9k.zsh-theme | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 657d691d..5bd5f586 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1192,12 +1192,12 @@ set_default POWERLEVEL9K_VI_INSERT_MODE_STRING "INSERT" set_default POWERLEVEL9K_VI_COMMAND_MODE_STRING "NORMAL" prompt_vi_mode() { case ${KEYMAP} in - main|viins) - "$1_prompt_segment" "$0_INSERT" "$2" "$DEFAULT_COLOR" "blue" "$POWERLEVEL9K_VI_INSERT_MODE_STRING" - ;; vicmd) "$1_prompt_segment" "$0_NORMAL" "$2" "$DEFAULT_COLOR" "default" "$POWERLEVEL9K_VI_COMMAND_MODE_STRING" ;; + main|viins|*) + "$1_prompt_segment" "$0_INSERT" "$2" "$DEFAULT_COLOR" "blue" "$POWERLEVEL9K_VI_INSERT_MODE_STRING" + ;; esac } |