Michael C. Toren on Thu, 13 Dec 2001 23:06:50 -0500 |
> I want a macro in MUTT to send an email to a specific folder > $(MAILDIR)/spam with a single keystroke. Since I use fetchmail > I planned to use "G". I cannot get the macro to work. > And, yes, I RTFM - couple of times. (not that the MUTT manual > is all that clear). I just cannot get it to work like I expect. > > I tried: > > macro index G s =spam > macro index G "s =spam" > macro index G s "=spam" It looks like the issue is the extra space you have between the "s" and the "=". mutt macros are very literal, and must be written exactly as you would type them out on the keyboard. Try something like: macro index G "s=spam\n" Also, I personally find that binding "G" to "last-entry" makes more sense, but I say that as a vi user. -mct
|
|