X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=muttrc;h=ed9508f9e079a2756e36d4ee98efcf24b7b62837;hb=f4c195e8c7beacaf5f781e0d30c273b57ccad21f;hp=df48b41e3d0e8955268dff09d1b1df0507b42ee2;hpb=7df7ab410d3a07d88f42cb9a83752d11f3093001;p=dotfiles.git diff --git a/muttrc b/muttrc index df48b41..ed9508f 100644 --- a/muttrc +++ b/muttrc @@ -1,46 +1,54 @@ -# Name and info -set realname="Mart Lubbers" +# Name and info set realname="Mart Lubbers" set from="mart@martlubbers.net" set use_from=yes set envelope_from=yes -<<<<<<< HEAD -<<<<<<< HEAD -set sendmail="/usr/bin/msmtp --passwordeval -C /home/mart/.mutt/msmtp -f mart@martlubbers.net -a net" -======= -set sendmail="/usr/bin/msmtp -C /home/mart/.mutt/msmtp -f mart@martlubbers.net -a net" ->>>>>>> 1cce2d664871e9f0f910a8f6c044c92b129b73a8 -======= -set sendmail="/usr/bin/msmtp -C /home/mart/.mutt/msmtp -f mart@martlubbers.net -a net" ->>>>>>> 1cce2d664871e9f0f910a8f6c044c92b129b73a8 set my_hdr="X-PGP-Key: http://www.martlubbers.net/mart@martlubbers.net.asc" -# Force offlineimap to refresh in the background -macro index,pager \CR "offlineimap -c ~/.mutt/offlineimaprc &" "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" "Clean up mailing lists" +# Receiving and sending email +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" + +# Bindings index +bind index gg first-entry +bind index G last-entry + +# Bindings pager +bind pager k previous-line +bind pager j next-line +bind pager gg top +bind pager G bottom +bind pager R group-reply + +# Macros +macro index S "mutt-notmuch-py ~/.mutt/mail/temp+temp" "search mail (using notmuch)" +macro index,pager $ "offlineimap -c ~/.mutt/offlineimaprc -k Repository_Remote:remotepass=$my_msmtp_pass &" "Force refresh" +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" +macro index,pager \cb "|urlview\n" # Folders set mbox_type=Maildir -set folder=~/.mutt/mail/ # Local mailbox -set spoolfile=+/INBOX/ # Inbox(first folder) -set record="+Sent/" # Sent messages -set trash="+Trash/" # Trash -set postponed="+Drafts/" # Drafts +set folder=~/.mutt/mail/ +set spoolfile=+/INBOX/ +set record="+Sent/" +set trash="+Trash/" +set postponed="+Drafts/" set mask="!^\\.[^.]" -set certificate_file=~/.mutt/certs -set imap_check_subscribed=yes -set sleep_time=0 -set mail_check=5 -source ~/.mutt/mailboxes # Generated by offlineimap +set timeout = 3 +set mail_check=0 +source ~/.mutt/mailboxes #View unset wait_key unset markers -set sort_browser=reverse-date -set sort_aux=reverse-last-date-received -set editor="vim" -set duplicate_threads = yes +set sort_browser=alpha +set sort=threads +set sort_aux=date +set editor=vim +set duplicate_threads=yes auto_view text/html +ignore headers * +unignore headers from to subject date cc + #Pager set pager_index_lines=20 set pager_context=3 @@ -49,26 +57,10 @@ set menu_scroll set tilde set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" alternative_order text/plain text/enriched text/html -bind pager k previous-line -bind pager j next-line -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 +# Adress book set alias_file="~/.mutt/alias" source "~/.mutt/alias" -macro index,pager \cb "|urlview\n" # Mailing lists subscribe debian-user-dutch@lists.debian.org @@ -76,6 +68,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 @@ -102,12 +95,13 @@ color quoted2 red default color hdrdefault cyan default color signature cyan default -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 green default ~p +color index brightyellow default ~N +color index blue default ~T +color index red default ~D +color index brightblue default ~F -#Crypto stuff +#Crypto set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"