X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=muttrc;h=3e566db23d15ab0ae3a950ff4ff63c8ed5973fc0;hb=b5caa249d5711c13116a8ff7e0556766fce4666b;hp=76c7c4da40a8f9c8851c4ce6f6e91922dae81199;hpb=f78a33dc565ee9cff3f1ae4d4119758997323691;p=dotfiles.git diff --git a/muttrc b/muttrc index 76c7c4d..3e566db 100644 --- a/muttrc +++ b/muttrc @@ -3,20 +3,31 @@ 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" +# Bindings +bind index gg first-entry +bind index G last-entry + # 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\ ~C lists.debian.org=debian\ ~C mutt-users@mutt.org=mutt\ +~C praat-users=praat\ " "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" + # Folders set mbox_type=Maildir set folder=~/.mutt/mail/ # Local mailbox @@ -27,17 +38,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 @@ -53,16 +65,6 @@ bind pager gg top bind pager G bottom bind pager R group-reply -#Sidebar options -set sidebar_visible=yes -set sidebar_sort=yes -set sidebar_delim=" " -set sidebar_width=15 -color sidebar_new brightyellow default -bind index,pager \CL sidebar-prev -bind index,pager \CH sidebar-next -bind index,pager \CO sidebar-open - # Adress book and url view set alias_file="~/.mutt/alias" source "~/.mutt/alias" @@ -74,6 +76,7 @@ subscribe debian-user@lists.debian.org subscribe vim_use@googlegroups.com subscribe vim@vim.org subscribe mutt-user@mutt.org +subscribe praat-users@egroups.com #Skip some options set include=yes @@ -104,6 +107,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"