Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: change color depending on vi-mode



Hi to both,

* Mike Hernandez <sequethin@xxxxxxxxx> wrote:
> On  Mon, Jan 23, 2006 at 12:19:33PM +0100, Fabian Braennstroem wrote:
>> Hi,
>> 
>> I am pretty new to zsh and like it a lot. As a prompt style
>> I use 'adam2'. Now, I would like to know, if it is possible
>> to display some information or change the color of the bar
>> depending on the current vi-mode? E.g. I would like to have
>> a red line in insert-mode and a blue line in
>> navigation-mode.
>> 
> Check this out:
>
> http://www.gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/zsh/vi-showmode
>
> There are instances where it can act strangely, but for the most
> part it works rather well.

Very nice! Seems to work good enough for me :-)

Greetings!
 Fabian



Messages sorted by: Reverse Date, Date, Thread, Author