1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-15 08:01:43 +00:00

[#23] Rename keymap indicator zstyles

This commit is contained in:
Sorin Ionescu
2012-04-02 23:43:32 -04:00
parent 8d98e62b34
commit d5a94dda74
2 changed files with 7 additions and 7 deletions

View File

@ -13,10 +13,10 @@ fi
# The default styles.
# Indicator to notify of vi insert mode.
zstyle ':omz:prompt:vi' insert '>>>'
zstyle ':omz:module:editor:keymap' primary '>>>'
# Indicator to notify of vi command mode.
zstyle ':omz:prompt:vi' command '<<<'
zstyle ':omz:module:editor:keymap' alternate '<<<'
# Indicator to notify of generating completion.
zstyle ':omz:module:editor' completing '...'
@ -72,9 +72,9 @@ done
# Displays the current vi mode.
function zle-line-init zle-line-finish zle-keymap-select {
if [[ "$KEYMAP" == 'vicmd' ]]; then
zstyle -s ':omz:prompt:vi' command 'vi_prompt_info'
zstyle -s ':omz:module:editor:keymap' alternate 'editor_keymap_info'
else
zstyle -s ':omz:prompt:vi' insert 'vi_prompt_info'
zstyle -s ':omz:module:editor:keymap' primary 'editor_keymap_info'
fi
zle reset-prompt
zle -R