From 876dbcd2f6a17d72fe654279ae2575d1dbdfb2b3 Mon Sep 17 00:00:00 2001 From: Albin Olsson Date: Thu, 29 Mar 2012 22:44:40 +0200 Subject: [PATCH] Adding muttrc to repo --- muttrc | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ signature | 2 ++ 2 files changed, 80 insertions(+) create mode 100644 muttrc create mode 100644 signature diff --git a/muttrc b/muttrc new file mode 100644 index 0000000..09ba4b5 --- /dev/null +++ b/muttrc @@ -0,0 +1,78 @@ +# Me +set realname = "Albin Olsson" +set from = "albin.olsson@gmail.com" +set use_from = yes +set envelope_from ="yes" + +set signature="~/.signature" + +# GMail account +set imap_user = "albin.olsson@gmail.com" +set folder="imaps://imap.gmail.com:993" +set spoolfile = "+INBOX" +set postponed="+[Gmail]/Drafts" +set smtp_url = "smtp://albin.olsson@smtp.gmail.com:587/" + +source ~/.mutt/passwords + +# Folders +#set mbox_type=mbox # Mailbox type +set move=no # Don't move mail from spool + +set header_cache =~/.mutt/cache/headers +set message_cachedir =~/.mutt/cache/bodies +set certificate_file =~/.mutt/certificates + +# What to show and order of headers +ignore * +unignore Date: From: User-Agent: X-Mailer X-Operating-System To: \ + Cc: Reply-To: Subject: Mail-Followup-To: +hdr_order Date: From: User-Agent: X-Mailer X-Operating-System To: \ + Cc: Reply-To: Subject: Mail-Followup-To: + +# Vim +set editor="vim -c 'set tw=70 et' '+/^$' " +set edit_headers=yes # See the headers when editing + +# Aliases +set alias_file = ~/.mutt/aliases +source ~/.mutt/aliases +set sort_alias=alias # Sort alphabetically + + +source ~/.mutt/colors + +#======================================================# +# Lists: An example using the mutt-users list: +lists mutt-users +subscribe mutt-users +set followup_to=yes # Sets 'Mail-Followup-To' header +set honor_followup_to=yes +fcc-hook mutt-user +mutt # See your own posts using fcc + +# Odds and ends +set markers # mark wrapped lines of text in the pager with a + +set smart_wrap # Don't wrap mid-word +set pager_context=5 # Retain 5 lines of previous page when scrolling. +set status_on_top # Status bar on top. +push # Shows mutt version at startup + + +### PGP ### +set pgp_sign_as=0xEFD21696 +set crypt_autosign +set pgp_timeout=3600 +# automatically verify the sign of a message when opened +set crypt_verify_sig=yes + + +### GMail keys ### +bind editor noop +macro index,pager y "=[Gmail]/All Mail" "Archive" +macro index,pager d "=[Gmail]/Trash" "Trash" +macro index gi "=INBOX" "Go to inbox" +macro index ga "=[Gmail]/All Mail" "Go to all mail" +macro index gs "=[Gmail]/Starred" "Go to starred messages" +macro index gd "=[Gmail]/Drafts" "Go to drafts" +macro index gt "=[Gmail]/Trash" "Go to trash" +macro index gm "=[Gmail]/Sent Mail" "Go to sent mail" diff --git a/signature b/signature new file mode 100644 index 0000000..9ced6de --- /dev/null +++ b/signature @@ -0,0 +1,2 @@ +Albin Olsson | albin.olsson@gmail.com | +46 707 831 830 +Use http://www.albinolsson.se/publickey.asc to verify my identity.