aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.mutt/macros.rc26
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>\