Conditional macro?

Francesco Ariis fa-ml at ariis.it
Thu Dec 6 16:15:05 UTC 2018


Hello Alex,

On Thu, Dec 06, 2018 at 05:16:09PM +0200, Alex Sa wrote:
> Is it possible to set up a macro that would behave differently
> dependent on the current folder?

Never tried it myself, but I recall this:

    https://gitlab.com/muttmua/mutt/wikis/ConfigTricks

(specifically, the "(ab)use "macros" as variables."; maybe you can
"set" the variable once you enter a folder and then use it
with your macro).

Maybe it can be of help in your case?
-F


More information about the Mutt-users mailing list