On Sun, Jun 28, 2020 at 03:15:12AM +0200, Francesco Ariis wrote:
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?

I think the same basic idea, but using macro redefinition instead, was posted by David Champion a few years ago: <https://marc.info/?l=mutt-users&m=143475140112646&w=2>.

The message is misformatted in that page, but the 'raw body' link is readable.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to