<<< Date Index >>>     <<< Thread Index >>>

Re: Toggling a Colour



On Sun, Mar 07, 2004 at 01:33:04PM EST, Patrick Shanahan wrote:
> * Dave Edwards <erratico@xxxxxxxxxxxx> [03-07-04 13:08]:

> > Is it possible to bind keys to toggle a color directive?  For example,
> > I have a color directive that highlights all messages from me in the
> > current index, but I don't want to see that all the time, so would it
> > be nice to be able to, say, ^m to toggle it off.
> 
> Make a separate config file, .muttrc.other.color, containing the items
> you wish different.  Then make a macro for (your choice) ^m to _source_
> the new config, .muttrc.other.color.  Make a macro for (your choice) ^M
> to _source_ your original, ~/.muttrc, and you have a toggle.

You'll have to "uncolor" to undo the color directive(s), BTW, unless
your standard muttrc has its own color directives for the same stuff
(in which case it'll conveniently clobber your .muttrc.other.color stuff).

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgp93cqT520qS.pgp
Description: PGP signature