Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
204 lines (176 sloc) 8.2 KB
# 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.