Toggling between two values of a string variable?

Francesco Ariis fa-ml at ariis.it
Sun Jun 28 01:15:12 UTC 2020


Hello John,

Il 27 giugno 2020 alle 20:48 John Hawkinson ha scritto:
> Ideally I'd like to bind a key to toggle between two values of a
> string variable. There doesn't seem to be a good way to accomplish
> this -- is there a trick?

I recall a similar question being asked on this ML — or was it IRC? — in
the past and this link providing the answer:

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

specifically the «(ab)use "macros" as variables» section.
Would that do?
—F


More information about the Mutt-users mailing list