Skip to content

Instantly share code, notes, and snippets.

@lambdaofgod
Created April 1, 2020 22:58
Show Gist options
  • Select an option

  • Save lambdaofgod/d0ba09d2ca9c7ad0338e13cd2ce74166 to your computer and use it in GitHub Desktop.

Select an option

Save lambdaofgod/d0ba09d2ca9c7ad0338e13cd2ce74166 to your computer and use it in GitHub Desktop.
mutt
# Example NeoMutt config file for the index-color feature.
# Entire index line
color index white black '.*'
# Author name, %A %a %F %L %n
# Give the author column a dark grey background
color index_author default color234 '.*'
# Highlight a particular from (~f)
color index_author brightyellow color234 '~fRay Charles'
# Message flags, %S %Z
# Highlight the flags for flagged (~F) emails
color index_flags default red '~F'
# Subject, %s
# Look for a particular subject (~s)
color index_subject brightcyan default '~s\(closes #[0-9]+\)'
# Number of messages in a collapsed thread, %M
color index_collapsed default brightblue
# Date field
color index_date green default
# Message label, %y %Y
color index_label default brightgreen
# Message number, %C
color index_number red default
# Message size, %c %cr %l
color index_size cyan default
color attachment brightmagenta black
color error brightred black # errors yell at you in red
color hdrdefault red black # headers
color indicator brightwhite black # currently selected message
color markers brightcyan black # the + for wrapped pager lines
color message brightcyan black # informational messages, not mail
color normal white black # plain text
color quoted green black # quoted text
color search brightgreen black # hilite search patterns in the pager
color signature red black # signature (after "-- ")
color status brightyellow black # status bar
color tilde blue black # ~'s after message body
color tree red black # thread tree in index menu is magenta
color signature brightred black
color underline yellow black
color header cyan black "^(From|Subject):" # Important headers
color body magenta black "(ftp|http)://[^ ]+" # picks up URLs
color body magenta black "[-a-z_0-9.]+@[-a-z_0-9.]+" #picks up mail adresses
# Coloring quoted text - coloring the first 7 levels:
color quoted cyan black
color quoted1 yellow black
color quoted2 red black
color quoted3 green black
color quoted4 cyan black
color quoted5 yellow black
color quoted6 red black
color quoted7 green black
# Colorize smileys: :-) ;-) :-/ :-(
color body yellow black "[;:]-[)/(|]"
color body yellow black "[;:][)/(|]"
color body green black "[[:alpha:]]\+://[^ ]*"
color index brightyellow black ~N # New
color index yellow black ~O # Old
color index magenta black ~F
color index blue black ~T
color index red black ~D
set realname = "Jakub Bartczuk"
set from = "[email protected]"
set use_from = yes
set envelope_from = yes
set smtp_pass="grpqxelwkkoqexmh"
set smtp_url = "smtps://[email protected]@smtp.gmail.com:465/"
set imap_user = "[email protected]"
set imap_pass = "grpqxelwkkoqexmh"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set ssl_force_tls = yes
# G to get mail
bind index G imap-fetch-mail
set editor = "vim"
set charset = "utf-8"
set record = ''
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
# rev sorting
set sort_aux = last-date-received
set sort = reverse-threads
auto_view text/html
source .mutt-colors
set postponed = "+[Gmail]/Drafts"
set trash = "imaps://imap.gmail.com/[Gmail]/Trash"
mailboxes \"+Inbox" \"+[Gmail].Drafts" \"+[Gmail].Sent Mail" \"+[Gmail].Spam" \"+[Gmail].Trash"
set spoolfile = "+Inbox"
set postponed = "+[Gmail].Drafts"
set trash = "+[Gmail].Trash"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment