summaryrefslogtreecommitdiffstats
path: root/.config/mutt/defaults.muttrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/mutt/defaults.muttrc')
-rw-r--r--.config/mutt/defaults.muttrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc
index 6b05b79..3d1db91 100644
--- a/.config/mutt/defaults.muttrc
+++ b/.config/mutt/defaults.muttrc
@@ -68,13 +68,16 @@ bind editor <Tab> complete-query
#set crypt_autosign = yes
#set crypt_opportunistic_encrypt = yes
#set pgp_self_encrypt = yes
-#set pgp_default_key = 'your@gpgemailaddre.ss'
+set pgp_default_key = 'bousset.rudy@gmail.com'
macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --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>mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a<enter>" "run mbsync to sync all mail"
macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"
macro index A "<limit>all\n" "show all messages (undo limit)"
+macro compose Y "<first-entry>\
+<pipe-entry>mutt_md2html.sh<enter>\
+<enter-command>source /tmp/neomutt-attach-macro<enter>"
# Sidebar mappings
set sidebar_visible = yes