Add tag related macros & ability to read text/html attachments

This commit is contained in:
George Rawlinson 2016-11-09 13:57:31 +13:00
parent 90663950f5
commit 4e3d72713c
4 changed files with 11 additions and 0 deletions

View file

@ -17,3 +17,7 @@ set smtp_url=smtp://$from@smtp.gmail.com:587
macro index A "<save-message>+gmail/Archive<enter>" "move message to the archive"
macro index S "<save-message>+gmail/Spam<enter>" "mark message as spam"
macro index D "<save-message>+gmail/Trash<enter>" "move message to the trash"
# tag macros
macro index \Ca "<tag-prefix-cond><save-message>+gmail/Archive<enter>" "move tagged messages to archive"
macro index \Cs "<tag-prefix-cond><save-message>+gmail/Spam<enter>" "move tagged messages to spam"
macro index \Cd "<tag-prefix-cond><save-message>+gmail/Trash<enter>" "move tagged messages to trash"

View file

@ -17,3 +17,7 @@ set smtp_url=smtp://$from@mail.gandi.net:587
macro index A "<save-message>+nullpointer/Archive<enter>" "move message to the archive"
macro index S "<save-message>+nullpointer/Spam<enter>" "mark message as spam"
macro index D "<save-message>+nullpointer/Trash<enter>" "move message to the trash"
# tag macros
macro index \Ca "<tag-prefix-cond><save-message>+nullpointer/Archive<enter>" "move tagged messages to archive"
macro index \Cs "<tag-prefix-cond><save-message>+nullpointer/Spam<enter>" "move tagged messages to spam"
macro index \Cd "<tag-prefix-cond><save-message>+nullpointer/Trash<enter>" "move tagged messages to trash"

View file

@ -22,6 +22,7 @@ set smart_wrap # attempt to wrap messages
set tilde # vim-like end of msg
unset markers # no line-wrap markers
alternative_order text/plain text/enriched text/html # display preference in order
auto_view text/html # auto open html formatted mails
# index
set date_format = "%y-%m-%d %H:%M" # YY-MM-DD HH:SS

View file

@ -1,2 +1,4 @@
# pdf documents
application/pdf; okular %s;
# html
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput