123456789101112131415161718192021222324252627282930 |
- # -*- muttngrc -*-
- #
- # Muttng configuration file
- # 2006, kolter <kolter@openics.org>
- #
- # This file is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY
- #
- # Macros settings for Muttng.
- #
- macro generic \em "<enter-command>source ~/.muttrc<enter>" "Reloading muttng's configuration"
- macro index,pager <f1> "<change-folder> =INBOX<enter>" "Change folder for INBOX"
- macro index,pager <f2> "<change-folder> =Sent<enter>" "Change folder for Sent"
- macro index,pager <f3> "<change-folder> =Draft<enter>" "Change folder for Draft"
- macro index,pager <f4> "<change-folder> =Spam<enter>" "Change folder for Spam"
- macro index,pager <f5> "<change-folder> =Trash<enter>" "Change folder for Trash"
- macro index,pager B "<enter-command>toggle sidebar_visible<enter>" "Toggle sidebar visibility"
- macro index \cx "<tag-pattern>~N<enter><tag-prefix><toggle-new><tag-prefix><clear-flag>*" "Mark all new messages as read"
- # bogofilter macros
- #macro index,pager \cs ":unset wait_key\n|bogofilter -Ns\n:set wait_key\n:exec save-message\r=Spam\n" "*** set message as SPAM :-("
- #macro index,pager \ch ":unset wait_key\n|bogofilter -Sn\n:set wait_key\n:exec save-message\r=INBOX\n" "*** set message as HAM :-)"
- # spamassassin macros
- macro index,pager \ch "<enter-command>unset wait_key<enter><pipe-message>sa-learn --forget<enter><pipe-message>sa-learn --ham --no-sync<enter><enter-command>set wait_key<enter>" "Set message as HAM"
- macro index,pager \cs "<enter-command>unset wait_key<enter><pipe-message>sa-learn --forget<enter><pipe-message>sa-learn --spam --no-sync<enter><enter-command>set wait_key<enter><save-message>=Spam<enter>" "Set message as SPAM"
|