X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=muttrc;h=afa79be462e49904cd44ecf49f7aeeeca3229ff1;hb=ea9a69baddb1f25b696b52e0a589df1b4c05eaa1;hp=76c7c4da40a8f9c8851c4ce6f6e91922dae81199;hpb=336b6c6c69a03210ca9f666e82de17503a129045;p=dotfiles.git diff --git a/muttrc b/muttrc index 76c7c4d..afa79be 100644 --- a/muttrc +++ b/muttrc @@ -3,13 +3,13 @@ set realname="Mart Lubbers" set from="mart@martlubbers.net" set use_from=yes set envelope_from=yes -set my_msmtp_pass=`gpg --use-agent -d ~/passwd.gpg | grep -i mail | awk '{print $3}'` +set my_msmtp_pass=`gpg -d ~/passwd.gpg | grep -i mail | awk '{print $3}'` set sendmail="/usr/local/bin/msmtp -C /home/mart/.mutt/msmtp --password=$my_msmtp_pass -f mart@martlubbers.net -a net" set my_hdr="X-PGP-Key: http://www.martlubbers.net/mart@martlubbers.net.asc" # Macros # Force offlineimap to refresh in the background -macro index,pager \CR "offlineimap -c ~/.mutt/offlineimaprc -k Repository_Remote:password=$my_msmtp_pass &" "Force refresh" +macro index,pager $ "offlineimap -c ~/.mutt/offlineimaprc -k Repository_Remote:remotepass=$my_msmtp_pass &" "Force refresh" # Move all the mailing lists to the appropriate folder macro index,pager \CT "\ ~C vim@vim.org | ~C vim_use=vim\ @@ -17,6 +17,14 @@ macro index,pager \CT "\ ~C mutt-users@mutt.org=mutt\ " "Clean up mailing lists" +#Scoring mechanism to pin emails +unscore * +score ~A 0 +score ~F 1 +macro index \CP "unscore *score ~A 0score ~F 1" "toggle pin" +#set index_format="%1N %4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" + + # Folders set mbox_type=Maildir set folder=~/.mutt/mail/ # Local mailbox @@ -27,17 +35,18 @@ set postponed="+Drafts/" # Drafts set mask="!^\\.[^.]" set certificate_file=~/.mutt/certs set imap_check_subscribed=yes -set sleep_time=0 -set mail_check=5 +#set sleep_time=0 +set mail_check=1 source ~/.mutt/mailboxes # Generated by offlineimap #View unset wait_key unset markers -set sort_browser=reverse-date -set sort_aux=reverse-last-date-received +set sort_browser=alpha +set sort=reverse-score +set sort_aux=reverse-date set editor="vim" -set duplicate_threads = yes +set duplicate_threads=yes auto_view text/html #Pager set pager_index_lines=20 @@ -104,6 +113,7 @@ color index green default ~p# To me color index brightyellow default ~N# New color index blue default ~T# Tagged color index red default ~D# Deleted +color index brightblue default ~F #Crypto set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"