mutt: Fix possible conflicting mappings

This commit is contained in:
Sanchayan Maity 2022-02-13 17:57:28 +05:30
parent 6bf989871e
commit dea9be7cac
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,9 @@ macro index S \
"<save-message>+fastmail/Spam<enter>" \
"mark message as spam"
# Binding 'gi' will alias 'g'
bind index g noop
macro index gi "<change-folder>=fastmail/Inbox<enter>" "Go to Inbox"
macro index gf "<change-folder>=fastmail/FreedesktopGitlab<enter>" "Go to freedesktop gitlab"
macro index gg "<change-folder>=fastmail/gstreamer<enter>" "Go to gstreamer"

View File

@ -78,6 +78,9 @@ macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuc
# 'a' shows all messages again (supersedes default <alias> binding)
macro index a "<limit>all\n" "show all messages (undo limit)"
# Binding 'ca' will alias 'c
bind index c noop
macro index C '<change-folder>?<change-dir><home>^K=<enter>'
macro index ca '<enter-command>source ~/.mutt/muttrc/accounts/asymptotic<enter><change-folder>=asymptotic/Inbox/<enter>'
macro index cf '<enter-command>source ~/.mutt/muttrc/accounts/fastmail<enter><change-folder>=fastmail/Inbox/<enter>'