Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 203 lines (176 sloc) 8.401 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203


# Paths ----------------------------------------------
set folder = ~/.mail # mailbox location
set alias_file = ~/.mutt/alias # where to store aliases
set header_cache = ~/.mutt/cache/headers # where to store headers
set message_cachedir = ~/.mutt/cache/bodies # where to store bodies
set certificate_file = ~/.mutt/certificates # where to store certs
set mailcap_path = ~/.mutt/mailcap # entries for filetypes
set tmpdir = ~/.mutt/temp # where to keep temp files
#set signature = ~/.mutt/sig # my signature file
set signature="~/.sig"

set pager_index_lines=16
set pager_context=4
set move = no #Stop asking to "move read messages to mbox"!

# Basic Options --------------------------------------
set wait_key = no # shut up, mutt
set mbox_type = Maildir # mailbox type
set timeout = 3 # idle time before scanning
set mail_check = 0 # minimum time between scans
unset move # gmail does that
set delete # don't ask, just do
unset confirmappend # don't ask, just do!
set quit # don't ask, just do!!
unset mark_old # read/new is good enough for me
set beep_new # bell on new mails
set pipe_decode # strip headers and eval mimes when piping
set thorough_search # strip headers and eval mimes before searching
 
# Header related stuff
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
 
# Header Options -------------------------------------
ignore * # ignore all headers
unignore from: to: cc: date: subject: # show only these
unignore x-mailing-list: posted-to: x-mailer:
unhdr_order * # some distros order things by default
hdr_order from: to: cc: date: subject: # and in this order
 
# Sorting, Markers etc.
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 10 # how large is the index window?
set sort = threads
set sort_aux = last-date-received

bind editor <space> noop
 
# Set which Editor to use for composing Emails.
set editor= '/usr/bin/vim'
 
# Remap bounce-message function to "B"
bind index B bounce-message
 
# .mailcap has viewing program for html
# HTML is the last option.
alternative_order text/enriched text/plain text/html
auto_view text/html

# No one needs to know my host
set hidden_host

#make mutt colorful!
color attachment brightmagenta default
color error brightred default
color hdrdefault red default
color indicator brightyellow red
color markers brightcyan default
color message brightcyan default
color normal default default
color quoted brightblue default
color search default green
color signature red default
color status yellow blue
color tilde magenta default
color tree magenta default
# Imported colors
color quoted red black
color signature white black
color indicator brightwhite red
color attachment black green
color error red black
color message magenta black
#color search brightwhite magenta
color status brightyellow blue
color tree red black
color normal green black
color tilde magenta black
color bold brightyellow black
color underline magenta black
color markers red black
color header brightwhite black "^(From|Subject|Reply-To):"
color header red cyan "^X-Junked-Because:"
color hdrdefault blue black
color index brightblue white ~N
color index red white ~F
color index black green ~T
color index brightwhite black ~D
color body brightblue white "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
color body brightgreen white "<[Gg]>" # <g>
color body brightgreen white "<[Bb][Gg]>" # <bg>
color body brightgreen white " [;:]-*[)>(<|]" # :-) etc...

## ==================================================
## Colorizing the body of messages (ie in the pager)
## ==================================================

color normal white default # pager body

# Coloring quoted text - coloring the first 7 levels:
color quoted cyan default
color quoted1 yellow default
color quoted2 red default
color quoted3 green default
color quoted4 cyan default
color quoted5 yellow default
color quoted6 red default
color quoted7 green default

color signature brightred default
color status white blue
color tilde blue default
color tree brightmagenta default
color underline yellow default
color body yellow default "[;:]-[)/(|]" # colorise smileys
color body yellow default "[;:][)/(|]"
#color body brightblue default "(http|https|ftp|news|telnet|finger)://[^ ]*"
color body brightblue default "\\b[^ ]+://[^ ]*"

color index yellow default ~N # New
color index yellow default ~O # Old
color index cyan default '~s gilbertt ~f enlightenment-cvs'
color index brightgreen default '~p' # mail to myself
color index brightcyan default '~P' # mail from myself
color index magenta default ~F # Flagged
color index blue default ~T # Tagged
color index red default ~D # Deleted


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"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x3FEB79D1 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x3FEB79D1 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
set pgp_autosign=yes
set pgp_sign_as=0x3FEB79D1
set pgp_replyencrypt=yes
set pgp_timeout=1800
set pgp_good_sign="^gpg: Good signature from"
#set pgp_use_gpg_agent=yes
# Sidebar Patch --------------------------------------
set sidebar_delim = ' │'
set sidebar_visible = yes
set sidebar_width = 24
color sidebar_new color221 color233
# Status Bar -----------------------------------------
set status_chars = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"

# which mailboxes to list in the sidebar
mailboxes =inbox =ml

# color of folders with new mail
color sidebar_new yellow default

# ctrl-n, ctrl-p to select next, prev folder
# ctrl-o to open selected folder
bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open

# I don't need these. just for documentation purposes. See below.
# sidebar-scroll-up
# sidebar-scroll-down

# b toggles sidebar visibility
#macro index b '<enter-command>toggle sidebar_visible<enter>'
#macro pager b '<enter-command>toggle sidebar_visible<enter>'

# Remap bounce-message function to "B"
bind index B bounce-message

#
# Mario Holbe suggests:
 macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
 macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
#
Something went wrong with that request. Please try again.