On Mon, Jan 05, 2009 at 02:12:46PM +0800, Chengqi(Lars) Song wrote:
i know how to do it step by step:
ctrl-t
~N <enter>
;N <enter>

but how to bind this function to a single key?

macro index <Esc>c 
"<untag-pattern>~T\n<tag-pattern>~N\n<toggle-new><untag-pattern>~T\n"

Change the key to something you'd prefer. The first part clears any existing tags, so that the <toggle-new> doesn't turn the New flag on for those messages. It won't do anything if you don't have tagged messages.

Ed

Attachment: signature.txt
Description: Digital signature

Reply via email to