summaryrefslogtreecommitdiff
path: root/.muttrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-08-15 16:25:28 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-08-15 16:25:28 -0700
commit11a13d8c05a462a9e63695d0efdaadb7b39f5090 (patch)
tree325bf6423b8bdf50e7e22e1a80cb933ed56e207a /.muttrc
parentddb8bf10824be7f2a555a442b77d09b2a8bb0382 (diff)
downloaddotfiles-11a13d8c05a462a9e63695d0efdaadb7b39f5090.tar.gz
mutt: better capture-mail binding
Diffstat (limited to '.muttrc')
-rw-r--r--.muttrc7
1 files changed, 3 insertions, 4 deletions
diff --git a/.muttrc b/.muttrc
index a6eb2069..1788322f 100644
--- a/.muttrc
+++ b/.muttrc
@@ -165,10 +165,9 @@ macro index,pager ,B "<enter-command> set my_pdsave=\$pipe_decode<enter>\
message-hook . 'macro index,pager \cj ,b "URL viewer"'
message-hook ~G 'macro index,pager \cj ,B "URL viewer"'
-# send Message-Id over to Emacs so that I can link to messages
-# macro index,pager <F8> "|~/bin/org-mairix-el-store-link\n"
-macro index <F8> "Fk|~/bin/capture-mail\nj"
-macro pager <F8> "qFk|~/bin/capture-mail\nj"
+# quickly make a TODO item and flag so it doesn't get archived
+macro index \co "!k|~/bin/capture-mail\nj"
+macro pager \co "q!k|~/bin/capture-mail\nj"
# open RSS links in browser (fails because for some reason mutt can't bind <f{1--4}>
# macro index,pager <F4> "<pipe-message>grep '\^http' | sed 's/\^/-new-tab /' | xargs firefox<enter>" "open all URLs at beginning of lines in message in browser tabs"