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

"quitting" limits



Hi,

here's an interesting hack I'd like to share (thanks to Rado for the
initial prototype):

When I'm using a <limit> in the index, I always try to hit 'q' to get
back to the index view, but of course there's nothing to quit. The
macro below changes l such that 'q' will unlimit, and a subsequent 'q'
will then quit mutt:

macro index l '<enter-command>macro index q 
"<limit\>.<enter\><enter-command\>bind index q quit<enter\>"<enter><limit>'

(The weird \> quotes trick the parser into not parsing <fct> in the
outer <enter-command> layer.)

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature