Add mailcap entry for libreoffice, add urlscan for index and attach too

This commit is contained in:
flyingscorpio@clevo 2022-05-15 20:04:42 +02:00
parent 06e1ca4c78
commit b7fe219860
2 changed files with 2 additions and 1 deletions

View file

@ -7,3 +7,4 @@ audio/*; mpv %s;
application/pdf; ~/.local/bin/openfile %s;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;
application/*; libreoffice '%s'; copiousoutput;

View file

@ -77,7 +77,7 @@ bind editor <Tab> complete-query
#macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive"
#macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive"
macro pager \Cb <pipe-entry>'urlscan'<enter> "follow links with urlscan"
macro index,attach,pager \Cb <pipe-entry>'urlscan'<enter> "follow links with urlscan"
#macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
#macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
#macro index O "<shell-escape>mw -Y<enter>" "run mw -Y to sync all mail"