Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: change color depending on vi-mode
- X-seq: zsh-users 9847
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: change color depending on vi-mode
- Date: Mon, 23 Jan 2006 16:17:18 +0000
- In-reply-to: <slrndt9eu5.pr3.f.braennstroem@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <slrndt9eu5.pr3.f.braennstroem@xxxxxxxxxxxxxxxxxxxxx>
On Jan 23, 12:19pm, Fabian Braennstroem wrote:
}
} 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?
There was a discussion about something like this last year; search the
archives for "Vi ZLE bindings".
The short answer is that the only way to do it is to create your own
widget functions for all of the vi commands that change modes. There
is no "callback" associated with changing the keymap that can be used
to update the prompt.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author