commit fd8e1809577bd90ec0324a887ef023456c5e0b3a parent d0039fcb4701f407eb3fdf2b78a4458508181c39 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sun, 21 Feb 2016 10:59:31 +0100 crypt_opportunistic_encrypt Diffstat:
mutt/muttrc | | | 14 | ++++++++------ |
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/mutt/muttrc b/mutt/muttrc @@ -16,10 +16,18 @@ bind editor \cn complete-query # == Editor == set editor="vim -c ':so ~/config/vim/vimrc_mail' +1 +/^$/" +# == GPG == +set pgp_autosign +set pgp_replyencrypt +set pgp_use_gpg_agent +set crypt_opportunistic_encrypt +message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" + # == Personal stuff == # undo the effect of some hooks send-hook . "unmy_hdr From:" send-hook . "set pgp_autosign" +send-hook . "set crypt_opportunistic_encrypt" source "~/.mutt/perso" # == Encoding == @@ -71,12 +79,6 @@ set noconfirmappend set nomark_old set delete -# == GPG == -set pgp_autosign -set pgp_replyencrypt -set pgp_use_gpg_agent -message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" - # == Colors == source ~/.mutt/colors