summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-14 12:45:42 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-14 13:14:50 +0100
commitaa05f2d8da05b3254193a9a96d48d9eb3aaffd7b (patch)
treedbd8e88bc0c3bcb7b2065746cd55a0f688c458cd
parent54bd83e21431043dca473f5c7cc3d07472814370 (diff)
mutt: Use simpler mappings, and workaround neomutt(1) limitation
Link: <https://neomutt.org/guide/configuration.html#bind-warnings> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--home/.config/mutt/accounts.muttrc18
1 files changed, 10 insertions, 8 deletions
diff --git a/home/.config/mutt/accounts.muttrc b/home/.config/mutt/accounts.muttrc
index b275885..1da29ff 100644
--- a/home/.config/mutt/accounts.muttrc
+++ b/home/.config/mutt/accounts.muttrc
@@ -9,11 +9,13 @@ source ~/.config/mutt/account/gmail/alx/account.muttrc
source ~/.config/mutt/account/migadu/foss/account.muttrc
-macro index,compose,pager <F2><F2> '<enter-command>source ~/.config/mutt/account/migadu/alx/account.muttrc<enter>'
-macro index,compose,pager <F2><F3> '<enter-command>source ~/.config/mutt/account/migadu/foss/account.muttrc<enter>'
-macro index,compose,pager <F2><F4> '<enter-command>source ~/.config/mutt/account/migadu/gov/account.muttrc<enter>'
-macro index,compose,pager <F2><F5> '<enter-command>source ~/.config/mutt/account/migadu/legal/account.muttrc<enter>'
-macro index,compose,pager <F2><F6> '<enter-command>source ~/.config/mutt/account/migadu/llum/account.muttrc<enter>'
-macro index,compose,pager <F2><F7> '<enter-command>source ~/.config/mutt/account/migadu/spam/account.muttrc<enter>'
-macro index,compose,pager <F2><F8> '<enter-command>source ~/.config/mutt/account/migadu/tlf/account.muttrc<enter>'
-macro index,compose,pager <F3><F2> '<enter-command>source ~/.config/mutt/account/gmail/alx/account.muttrc<enter>'
+bind index,compose,pager <F2> noop
+macro index,compose,pager <F2>1 '<enter-command>source ~/.config/mutt/account/migadu/alx/account.muttrc<enter>'
+macro index,compose,pager <F2>2 '<enter-command>source ~/.config/mutt/account/migadu/foss/account.muttrc<enter>'
+macro index,compose,pager <F2>3 '<enter-command>source ~/.config/mutt/account/migadu/gov/account.muttrc<enter>'
+macro index,compose,pager <F2>4 '<enter-command>source ~/.config/mutt/account/migadu/legal/account.muttrc<enter>'
+macro index,compose,pager <F2>5 '<enter-command>source ~/.config/mutt/account/migadu/llum/account.muttrc<enter>'
+macro index,compose,pager <F2>6 '<enter-command>source ~/.config/mutt/account/migadu/spam/account.muttrc<enter>'
+macro index,compose,pager <F2>7 '<enter-command>source ~/.config/mutt/account/migadu/tlf/account.muttrc<enter>'
+bind index,compose,pager <F3> noop
+macro index,compose,pager <F3>2 '<enter-command>source ~/.config/mutt/account/gmail/alx/account.muttrc<enter>'