diff options
author | David Runge <dave@sleepmap.de> | 2017-02-20 17:45:10 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-02-20 17:45:10 +0100 |
commit | a1998edef8496fe94f6cc4c5e28ff5c58ba6674d (patch) | |
tree | ce6e1c554451ab772b5139d99cf835326cd8ffb8 | |
parent | 296200d1230f73bd4e235f13d13ebf5f3f60dd88 (diff) | |
download | dotfiles-a1998edef8496fe94f6cc4c5e28ff5c58ba6674d.tar.gz dotfiles-a1998edef8496fe94f6cc4c5e28ff5c58ba6674d.tar.bz2 dotfiles-a1998edef8496fe94f6cc4c5e28ff5c58ba6674d.tar.xz dotfiles-a1998edef8496fe94f6cc4c5e28ff5c58ba6674d.zip |
.mutt/macros.rc: Adding Spam, Trash and Archive macros.
-rw-r--r-- | .mutt/macros.rc | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/.mutt/macros.rc b/.mutt/macros.rc index 24e5f49..678e882 100644 --- a/.mutt/macros.rc +++ b/.mutt/macros.rc @@ -5,16 +5,30 @@ macro index,pager <F3> '<sync-mailbox><enter-command>source ~/.mutt/dave@c-base. macro index,pager <F4> '<sync-mailbox><enter-command>source ~/.mutt/david.runge@campus.tu-berlin.de.rc<enter><change-folder>!<enter>' macro index,pager <F5> '<sync-mailbox><enter-command>source ~/.mutt/studio@ak.tu-berlin.de.rc<enter><change-folder>!<enter>' -# adding default download folder -macro attach W "<save-entry><bol>~/Downloads/<eol>" \ - "Save to Downloads folder" +macro attach W \ + "<save-entry><bol>~/Downloads/<eol>" \ + "Save attachment to ~/Downloads." + +macro index D \ + "<tag-prefix><save-message>+Trash<enter>" \ + "Move message to Trash" + +macro index S \ + "<tag-prefix><save-message>+Spam<enter>" \ + "Move message to Spam." + +macro index I \ + "<tag-prefix><save-message>=Archives.INBOX.2016<enter><sync-mailbox>" \ + "Archive tagged INBOX message(s) in Archives.INBOX.2016" + +macro index G \ + "<tag-prefix><save-message>=Archives.Sent.2016<enter><sync-mailbox>" \ + "Archive tagged Sent message(s) in Archives.Sent.2016" -# adding e-mail addresses to khard address book macro index,pager A \ "<pipe-message>khard add-email<return>" \ - "add the sender email address to khard" + "Add the sender email address to khard" -# notmuch-mutt macro index <F8> \ "<enter-command>set my_old_pipe_decode=\$pipe_decode my_old_wait_key=\$wait_key nopipe_decode nowait_key<enter>\ <shell-escape>notmuch-mutt -r --prompt search<enter>\ |