diff --git a/roles/neomutt/files/mailcap b/roles/neomutt/files/mailcap index 8fa101d..1ff593d 100644 --- a/roles/neomutt/files/mailcap +++ b/roles/neomutt/files/mailcap @@ -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; diff --git a/roles/neomutt/templates/neomuttrc.j2 b/roles/neomutt/templates/neomuttrc.j2 index c986943..416801c 100644 --- a/roles/neomutt/templates/neomuttrc.j2 +++ b/roles/neomutt/templates/neomuttrc.j2 @@ -77,7 +77,7 @@ bind editor complete-query #macro index,pager Ma ";=Archive" "move mail to archive" #macro index,pager Ca ";=Archive" "copy mail to archive" -macro pager \Cb 'urlscan' "follow links with urlscan" +macro index,attach,pager \Cb 'urlscan' "follow links with urlscan" #macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" #macro index \Cr "T~UN." "mark all messages as read" #macro index O "mw -Y" "run mw -Y to sync all mail"