All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 bind index,pager | pipe-message
2 bind index,pager ! flag-message
3 bind index,pager \eP print-message
4 bind index,pager <up> previous-entry
5 bind index,pager <down> next-entry
6 bind index,pager \eU undelete-subthread
7 bind index,pager \eD delete-subthread
9 bind pager,index <backtab> previous-unread
11 macro index p "<enter-command><enter>" "do nothing"
13 ##macro index L "<list-reply><save-message>=store<enter>"
14 macro index S "<tag-prefix><save-message>=store<enter><sync-mailbox>" "save messages to store"
15 macro pager S "<save-message>=store<enter><sync-mailbox>" "save message to store"
17 macro index \Cs '<tag-prefix><save-message>=resubmit<enter><sync-mailbox>' "resubmit messages"
18 macro pager \Cs '<save-message>=resubmit<enter><sync-mailbox>' "resubmit message"
20 macro index,pager E '<enter-command>source "$my_confdir/supersede-header X-Tickle get-timestamp|"<enter><next-undeleted><enter-command>push \Cs<enter>' "schedule messages with tickler"
21 macro index,pager \ex '<enter-command>source "$my_confdir/remove-header X-Postponed|"<enter>' "release postponed messages"
23 macro index,pager \es "<change-folder>=store<enter>" "go to store folder"
24 macro index,pager \ec "<change-folder>=debian/debconf<enter>" "go to debconf folder"
25 macro index,pager \ed "<change-folder>=debian<enter>" "go to debian folder"
26 macro index,pager \ei "<change-folder>=inbox<enter>" "go to inbox folder"
27 macro index,pager \ea "<change-folder>=ardex<enter>" "go to ardex folder"
28 macro index,pager \ek "<change-folder>=kbkg<enter>" "go to kbkg folder"
29 macro index,pager \eu "<change-folder>=uniwh<enter>" "go to uniwh folder"
30 macro index,pager \et "<change-folder>=toni<enter>" "go to toni folder"
32 bind index \eT tag-thread
33 bind index,pager \eK mail-key
35 macro index,pager \eR "<enter-command>source $my_confdir/muttrc<enter>" "reload muttrc"
36 macro compose \eR "<enter-command>source $my_confdir/muttrc<enter>" "reload muttrc"
38 macro index X "<tag-prefix><save-message>=retrain/spam<enter>" "retrain message as spam"
39 macro pager X "<save-message>=retrain/spam<enter>" "retrain message as spam"
40 macro index Z "<tag-prefix><save-message>=retrain/ham<enter>" "retrain message as ham"
41 macro pager Z "<save-message>=retrain/ham<enter>" "retrain message as ham"
43 macro index,pager \Cb '<enter-command>set my_pipe_decode="$pipe_decode"<enter><enter-command>set pipe_decode<enter><pipe-message>/usr/bin/urlview<enter><enter-command>set pipe_decode="$my_pipe_decode"<enter>' "invoke urlview"
45 macro compose Y '<edit-fcc><kill-line><enter><send-message>' "send message without storing"
46 macro compose \Cy '<pgp-menu>c<send-message>' "send message without signing"
47 macro compose \CY '<pgp-menu>cY' "send message without storing signing"
48 macro compose N '<enter-command>unset fcc_attach<enter>' "do not fcc-store attachment"
50 macro index,pager F '<limit>~L ' "search for correspondents"
51 macro index,pager \ef '<limit>~(~L )<left>' "search for correspondents (show complete threads)"
53 macro index ~ '<search>~' "shortcut to pattern search"
54 macro pager ~ '<exit><search>~' "shortcut to pattern search"
56 bind index,pager \en search-opposite
58 macro pager p '<pipe-message>less -c<enter>' "pipe message into pager"
61 bind pager ] half-down
63 macro index,pager \eS '<enter-command>set noweed<enter><decode-save>'
64 macro index,pager \eC '<enter-command>set noweed<enter><decode-copy>'
66 #macro index \Co '<tag-prefix><save-message>imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net<enter>' 'save message to logcheck-todo'
67 #macro pager \Co '<save-message>imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net<enter>' 'save message to logcheck-todo'
68 macro index,pager \eo '<change-folder>imaps://logcheck-todo%40madduck.net:logcheck@imap.madduck.net<enter>' 'go to logcheck todo folder'
70 #TODO this is a hack until switch-profile does not readd headers.
71 macro compose e '<enter-command>set my_editor="$editor"<enter><enter-command>set editor=sensible-editor<enter><edit-headers><enter-command>set editor="$my_editor"<enter>' "invoke normal editor to edit message"
72 macro index,pager e '<enter-command>set my_editor="$editor"<enter><enter-command>set editor=sensible-editor<enter><edit><enter-command>set editor="$my_editor"<enter>' "invoke normal editor to edit message"
74 macro index \ej '<enter-command>set my_editor="$editor"<enter><enter-command>source "$my_confdir/batch-subject-editor|"<enter><tag-prefix><edit><enter-command>set editor="$my_editor"<enter>' "change message subject"
76 macro index,pager \er '<enter-command>set my_editor="$editor"<enter><enter-command>set editor="~/.mutt/reuse-message $my_editor"<enter><reply><enter-command>set editor="$my_editor"<enter>' "invoke normal editor to edit message"
77 macro index,pager \eg '<enter-command>set my_editor="$editor"<enter><enter-command>set editor="~/.mutt/reuse-message $my_editor"<enter><group-reply><enter-command>set editor="$my_editor"<enter>' "invoke normal editor to edit message"
78 macro index,pager \el '<enter-command>set my_editor="$editor"<enter><enter-command>set editor="~/.mutt/reuse-message $my_editor"<enter><list-reply><enter-command>set editor="$my_editor"<enter>' "invoke normal editor to edit message"
80 macro index <F8> "<enter-command>unset wait_key<enter><shell-escape>~/.mutt/mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" "search mail (using notmuch)"
81 macro index <F9> "<enter-command>unset wait_key<enter><pipe-message>~/.mutt/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" "search and reconstruct owning thread (using notmuch)"
83 macro attach e '<enter-command>set my_mailcap_path="$mailcap_path"<enter><enter-command>set mailcap_path="~/.mutt/mailcap-edit-wrapper"<enter><view-mailcap><enter-command>set mailcap_path="$my_mailcap_path"<enter>' "edit temporary file of attachment"
85 # vim:sw=12:noet:sts=12:ts=12:ft=muttrc