~kota/kota-prompt

0a35ed7089bb0f4974631ff1bd2dc65896810fa5 — Dakota Walsh 8 months ago 38d66ea master
better normal mode indicator
2 files changed, 4 insertions(+), 4 deletions(-)

M kota-prompt.plugin.zsh
M kota-prompt.zsh
M kota-prompt.plugin.zsh => kota-prompt.plugin.zsh +2 -2
@@ 1,7 1,7 @@
# Kota's zsh prompt

# Prompt is path, shortened with ~ and turns red on an error exit code.
# Additionally it turns blue when in normal mode.
# Additionally it is given a green background when in normal mode.
# Plugin sets vi-mode if not already set.

# To use you must set PROMPT='$(vi_mode_status)'


@@ 28,7 28,7 @@ bindkey -v
export KEYTIMEOUT=1

# prompt variables
: "${VI_NORMAL_MODE_INDICATOR="%F{blue}%~ %f"}"
: "${VI_NORMAL_MODE_INDICATOR="%K{green}%~%k "}"
: "${VI_INSERT_MODE_INDICATOR="%(?..%F{red})%~ %f"}"

# enable prompt substition

M kota-prompt.zsh => kota-prompt.zsh +2 -2
@@ 1,7 1,7 @@
# Kota's zsh prompt

# Prompt is path, shortened with ~ and turns red on an error exit code.
# Additionally it turns blue when in normal mode.
# Additionally it is given a green background when in normal mode.
# Plugin sets vi-mode if not already set.

# To use you must set PROMPT='$(vi_mode_status)'


@@ 28,7 28,7 @@ bindkey -v
export KEYTIMEOUT=1

# prompt variables
: "${VI_NORMAL_MODE_INDICATOR="%F{blue}%~ %f"}"
: "${VI_NORMAL_MODE_INDICATOR="%K{green}%~%k "}"
: "${VI_INSERT_MODE_INDICATOR="%(?..%F{red})%~ %f"}"

# enable prompt substition