Back to $ prompt
This commit is contained in:
parent
2b25599896
commit
de43fd6feb
|
@ -27,9 +27,9 @@ function prompt_git {
|
||||||
|
|
||||||
function prompt_vimode {
|
function prompt_vimode {
|
||||||
# The prompt turns green in command mode, and red in insert mode
|
# The prompt turns green in command mode, and red in insert mode
|
||||||
PROMPT="$>"
|
PROMPT="$"
|
||||||
|
|
||||||
MODE_INDICATOR="%{$fg[green]%}%{$PROMPT%} "
|
MODE_INDICATOR="%{$fg[green]%}%{$PROMPT%}"
|
||||||
MODE_PROMPT="${${KEYMAP/vicmd/$MODE_INDICATOR}/(main|viins)/}"
|
MODE_PROMPT="${${KEYMAP/vicmd/$MODE_INDICATOR}/(main|viins)/}"
|
||||||
if [ $MODE_PROMPT ]; then
|
if [ $MODE_PROMPT ]; then
|
||||||
echo -n "$MODE_PROMPT "
|
echo -n "$MODE_PROMPT "
|
||||||
|
|
Loading…
Reference in a new issue