Skip to content

Commit

Permalink
Adding muttrc to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Albin Olsson authored and Albin Olsson committed Mar 29, 2012
1 parent 5e496bf commit 876dbcd
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
78 changes: 78 additions & 0 deletions 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 <show-version> # 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 <space> noop
macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
macro index gt "<change-folder>=[Gmail]/Trash<enter>" "Go to trash"
macro index gm "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to sent mail"
2 changes: 2 additions & 0 deletions 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.

0 comments on commit 876dbcd

Please sign in to comment.