From 309683da4125118c8ec30281484092c800c19315 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 10 Jan 2022 22:42:29 +0100 Subject: update --- .config/mutt/defaults.muttrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/mutt/defaults.muttrc') diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index aa04ead..c827e24 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -23,6 +23,7 @@ set forward_quote # include message in forwards set reverse_name # reply as whomever it was to set include # include message in replies set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example) +set timeout = 1 # refresh every minute auto_view text/html # automatically show html (mailcap uses w3m) auto_view application/pgp-encrypted alternative_order text/plain text/enriched text/html @@ -69,7 +70,7 @@ bind editor complete-query #set pgp_self_encrypt = yes #set pgp_default_key = 'your@gpgemailaddre.ss' -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,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook --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 "mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a" "run mbsync to sync all mail" macro index \Cf "unset wait_keyprintf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms~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' \`\"" "show only messages matching a notmuch pattern" -- cgit v1.2.3