Change mode colors in prompt

This commit is contained in:
Julian Aron Prenner 2014-01-22 09:00:57 +01:00
parent fd8ab78372
commit c8e0d18d18

View file

@ -2,10 +2,10 @@ function fish_vi_prompt_cm --description "Displays the current mode"
echo -n " " echo -n " "
switch $fish_bind_mode switch $fish_bind_mode
case default case default
set_color --bold --background green white set_color --bold --background red white
echo "[N]" echo "[N]"
case insert case insert
set_color --bold --background red white set_color --bold --background green white
echo "[I]" echo "[I]"
case visual case visual
set_color --bold --background magenta white set_color --bold --background magenta white