summaryrefslogtreecommitdiff
path: root/.muttrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-01-20 22:12:33 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-01-20 22:12:33 -0700
commit7a391bee2070dce1ac819a4535ded4f5f7d12064 (patch)
treea8504e764cbb863cc920a404ee33b8887373622b /.muttrc
parent08642cb22e389fb9cbf87778a3a90c73829da6d9 (diff)
downloaddotfiles-7a391bee2070dce1ac819a4535ded4f5f7d12064.tar.gz
mutt macro to quickly save attachments
Diffstat (limited to '.muttrc')
-rw-r--r--.muttrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.muttrc b/.muttrc
index 9882df73..85df8650 100644
--- a/.muttrc
+++ b/.muttrc
@@ -147,7 +147,8 @@ bind index,pager <F7> next-unread-mailbox
# works when I type mutt into a terminal, but not if I use xmonad launcher shortcut...
push "<limit>!~N!~O!~D<enter><last-entry>"
-# TODO save selected attachment to ~/tmp
+# quickly save attachments, woo
+macro attach S "<save-entry><kill-line>~/tmp/<enter>y<enter>"
# extract URLS--config from http://www.memoryhole.net/~kyle/extract_url/
macro index,pager ,b "<enter-command> set my_pdsave=\$pipe_decode<enter>\