commit be1999342390fb59e7129acbb95dc51a3f3039f3
parent 0a989a6910b0745d284263996a02ea89716830ed
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 27 Oct 2020 11:29:40 +0100
mutt: enable PGP
Former-commit-id: 129aa4b2e96c7738f051c768f69bfec2cfd62a5c
Diffstat:
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/mutt/muttrc b/mutt/muttrc
@@ -16,6 +16,13 @@ source personal
folder-hook $folder 'source ~/.config/mutt/personal'
macro index,pager ip '<sync-mailbox><enter-command>source ~/.config/mutt/personal<enter><change-folder>!<enter>;<check-stats>' "switch to personal"
+set pgp_default_key = 0x67A9DD9A68AE0B7C
+set crypt_autosign
+set crypt_verify_sig
+set crypt_replysign
+set crypt_opportunistic_encrypt
+set pgp_self_encrypt
+
bind index,pager S sync-mailbox
bind compose p postpone-message
bind index p recall-message
@@ -66,7 +73,11 @@ bind pager gg top
bind pager G bottom
bind pager R group-reply
bind attach <return> view-mailcap
-macro pager u "|urlview<enter>" "call urlview to open links"
+macro index,pager,attach,compose u "\
+<enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
+<pipe-message> urlview<Enter>\
+<enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
+"call urlview to extract URLs out of a message"
# Composing
set edit_headers # show headers when composing