Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # set editor="emacs -nw --no-init-file --load ~/.emacs-mail +7:0"
- #set editor="emacs -nw --load ~/.emacs-mail +8:0"
- set editor="emacs -nw +8:0"
- # set editor="emacsclient -a \"\" -t +8:0"
- #set editor="emacs -a \"\" -t +8:0"
- #Speed up folder switch
- set sleep_time = 0
- # Don't let your firewall kill your idle connection.
- set imap_keepalive = 900
- # Do not copy sent mail. Gmail smtp already does this.
- set copy = no
- set folder = "imaps://imap.gmail.com:993"
- set spoolfile = "+INBOX" #or +[Gmail]/Important
- # set postponed="+[Google Mail]/Drafts"
- set header_cache=~/.mutt/cache/headers
- set message_cachedir=~/.mutt/cache/bodies
- set certificate_file=~/.mutt/certificates
- set move = no
- macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
- macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"
- #Or see everything using w3m and going to the link page with a text browser.
- macro index,pager \ca ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; unset pipe_decode\n" "call w3m to extract URLs out of a message"
- # macro index,pager \cb "<enter-command> set my_pdsave=\$pipe_decode<enter>\
- # <enter-command> unset pipe_decode<enter>\
- # <pipe-message>extract_url.pl<enter>\
- # <enter-command> set pipe_decode=\$my_pdsave<enter>" "get URLs"
- #,----[ Muttrc ]
- # macro index \cb "\
- # : set my_tmp_pipe_decode=\$pipe_decode\n\
- # : set pipe_decode\n\
- # |urlview\n\
- # : set pipe_decode=\$my_tmp_pipe_decode\n\
- # : unset my_tmp_pipe_decode\n" \
- # 'call urlview to extract URLs out of a message'
- #`----
- # # View links in the pager using urlscan.
- # macro pager o "<pipe-entry> urlscan<enter>" 'View Links'
- # macro index \cb "\
- # : set my_tmp_pipe_decode=\$pipe_decode\n\
- # : set pipe_decode\n\
- # |urlscan\n\
- # : set pipe_decode=\$my_tmp_pipe_decode\n\
- # : unset my_tmp_pipe_decode\n" \
- # 'call urlscan to extract URLs out of a message'
- # View URLs inside Mutt
- # macro index \cb "|urlview\n"
- # macro pager \cb "|urlview\n"
- # macro pager \cb <pipe-entry>'w3m'<enter> 'Follow links in w3m'
- #set sort_aux = 'threads'
- #set sort = 'last-date-received'
- #set imap_check_subscribed
- set narrow_tree # narrow threading trees
- set strict_threads # don't thread by subject
- # Sort by newest conversation first.
- set sort = reverse-threads
- set sort_aux = last-date-received
- set imap_check_subscribed
- unset imap_passive
- ignore "Authentication-Results:"
- ignore "DomainKey-Signature:"
- ignore "DKIM-Signature:"
- #hdr_order Date From To Cc
- #set mail_check=90
- #set timeout=15
- # How often should mutt check for new mail?
- set mail_check=60
- # Notify me of new mail in my mailbox this often
- set timeout=15
- set imap_check_subscribed
- set edit_headers # see headers when editing mail
- set include # quote msg when replying
- set reply_to # use adress from reply-to header when replying
- set fast_reply # do not ask for to, sbuject,.. when replying
- set auto_tag # if something is tagged run commands on all tagged msgs
- set delete_untag # untag msgs when marking them for deletion
- set mark_old = no # don't differentiate between new and old
- set forward_format="Fwd: %s"
- set postpone=ask-yes # ask for postponing when doing an Abort.
- set quit=yes
- set delete=yes # ask for confirmation when deleting messages?
- set include=yes # quote message, when replying
- set abort_nosubject=no # Abort, if message has no subject.
- set recall=no # don't ask for using postponed message.
- set abort_unmodified=no # Abort, if message wasn't edited.
- set pager_stop # stay at the current mail when page-down'ing
- set menu_scroll # scroll in menus
- # set display_filter=~/.createalias.sh # filters new messages through a shell script that automatically generates a mutt alias for new senders
- set query_command="goobook query '%s'"
- macro index,pager a "<pipe-message>goobook add<return>" "add sender to google contacts"
- bind editor <Tab> complete-query
- bind index g noop
- bind pager g noop
- bind index . noop
- bind pager . noop
- # In what order should the header fields be presented?
- # Gmail have the notion of labels
- # If a message has several labels, we actually need to move it to the
- # trash to remove all labels (delete from all folders)
- # This one requires mutt with the trash patch
- #set trash = "=+[Google Mail]/Bin"
- #set trash="imaps://imap.gmail.com/[Google Mail]/Bin"
- # .mutt/muttrc
- folder-hook '[email protected]' 'source ~/.account1'
- folder-hook '[email protected]' 'source ~/.account2'
- macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.account1<enter><change-folder>!<enter>'
- macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.account2<enter><change-folder>!<enter>'
- bind index,pager .r group-reply #Reply all
- set write_bcc = yes # I will be able to see to whom I BCCed the email
- # switch to default account on startup
- source ~/.account1
- # # Gmail style keybindings
- ###############
- #à CAREFUL!!! Some of these bindings have been commented out because they gave
- # rise to some incompatibilities/overrode some other useful commands!
- # see http://bit.ly/1qWPnIA for the original formulation
- #Some of them are now parsed in the account1 and account2 files
- # since I cannot bind the same command to going to different directories
- # otherwise.
- bind editor <space> noop #FUNDAMENTAL!!! If I remove this, I have problems
- #with all the folders having a space in their name!!!!
- # #bind index,pager c mail #Compose
- # macro index,pager e "<save-message>=[Google Mail]/All Mail<enter><enter>" "Archive conversation"
- # bind generic x tag-entry #Select Conversation
- # bind index x tag-thread #Select Conversation
- # bind pager x tag-message #Select Conversation
- bind index,pager s flag-message #Star a message
- macro index,pager + "<save-message>=[Google Mail]/Important<enter><enter>" "Mark as important"
- macro index,pager - "<save-message>=INBOX<enter><enter>" "Move to INBOX"
- macro index,pager ! "<save-message>=[Google Mail]/Spam<enter><enter>" "Report spam"
- # bind index,pager \# delete-thread #Delete
- # bind index,pager L copy-message #Label
- # #bind index,pager v save-message #Move to
- # macro index,pager I <set-flag>O "Mark as read"
- # macro index,pager U <clear-flag>O "Mark as unread"
- # macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
- # macro index,pager gs "<change-folder>=[Google Mail]/Starred<enter>" "Go to starred messages"
- # macro index,pager gd "<change-folder>=[Google Mail]/Drafts<enter>" "Go to 'Drafts'"
- # macro index,pager gl "<change-folder>?" "Go to 'Label'"
- macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
- # macro index,pager gt "<change-folder>=[Google Mail]/Sent Mail<enter>" "Go to 'Sent Mail'"
- # folder-hook +INBOX 'macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive conversation"'
- #folder-hook +[Google Mail]/Trash macro index,pager y <save-message>=INBOX<enter><enter> "Move to inbox"
- #folder-hook +[Google Mail]/Starred bind index,pager y flag-message #"Toggle star"
- # This should be ' »›-‹L' to match Gmail, but $to_chars breaks on unicode.
- set to_chars = ' +>-<L'
- # Don't move read mail.
- set move = no
- # Saner copy/move dialogs
- macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
- macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
- macro index \cw "<save-message>=[Google Mail]/Sent Mail<enter><enter>" "Move to 'Sent Mail'"
- # show only new / all messages
- macro index .n "l~N\n" "Show only new messages"
- macro index .a "l~A\n" "Show all messages"
- macro index .m "T~N<enter>;WNT~O<enter>;WO\CT~T<enter>" "mark all messages read"
- # Show folder with new mails
- macro index .. "<buffy-list>" "list mailboxes with new mail"
- # reload ~/.muttrc
- macro index <F12> "<enter-command>source ~/.muttrc<enter>" "Reload ~/.muttrc"
- # Mark all messages as read (useful for NG's ;))
- # # Something to mark a whole folder as ‘read’
- # # Line by line,
- # # 1. Tag all Unread or Old messages
- # # 2. If any messages are tagged, [macro aborts otherwise]
- # # 3. Clear the Unread flag
- # # 4. Clear the Old flag
- # # 5. Untag all messages
- # macro index {{esc}}m ‘\
- # {{tag-pattern}}~N|~O{{enter}}\
- # {{tag-prefix-cond}}\
- # {{tag-prefix}}{{clear-flag}}N\
- # {{tag-prefix}}{{clear-flag}}O\
- # {{untag-pattern}}~T{{enter}}’ “mark all messages read”
- set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
- # #Handling html files
- set mailcap_path = ~/.mailcap
- set smart_wrap
- auto_view text/html # view html automatically
- alternative_order text/plain text/enriched text/html
- auto_view text/x-vcard # vcard attachments viewed through mutt.vcard.filter
- set implicit_autoview=yes # Load in pager if setting in .mailcap says 'copiousoutput'.
- macro pager ,@aoh= "\
- <enter-command> unalternative_order *; \
- alternative_order text/enriched text/html text/plain text;\
- macro pager A ,@aot= 'toggle alternative order'<enter>\
- <exit><display-message>"
- macro pager ,@aot= "\
- <enter-command> unalternative_order *; \
- alternative_order text/enriched text/plain text/html text;\
- macro pager A ,@aoh= 'toggle alternative order'<enter>\
- <exit><display-message>"
- macro pager A ,@aot= "toggle alternative order"
- set markers=no #no ugly + signs...
- #mutt sidebar settings
- bind index,pager \Cp sidebar-prev
- bind index,pager \Cn sidebar-next
- bind index,pager \Co sidebar-open
- macro index,pager B '<enter-command>toggle sidebar_visible<enter>'
- color sidebar_new yellow default
- # set sidebar_shortpath = yes ## I added this to avoid the problem of truncated folder names in the 1.6.x mutt version. See http://bit.ly/1WSJmQC .
- # Sidebar Patch --------------------------------------
- # set sidebar_delim = ' │'
- set sidebar_visible = yes
- set sidebar_width = 20
- color sidebar_new color221 color203
- macro index B '<enter-command>toggle sidebar_visible<enter><refresh>'
- macro pager B '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
- # Forward also the attachments, but I do not like it!
- # set mime_forward = yes
- set mime_forward_rest = ask-yes
- # Now mutt asks me what I intend to do
- set mime_forward = ask-yes
- #choose where to save the attachments
- macro attach W <save-entry><kill-line>/home/lorenzo/Downloads/
- # 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 )?───"
- # macro index,pager A |'~/mail2muttalias.py ~/.mutt-aliases'\n
- # other user interface settings
- ###
- set pager_index_lines=12 # add small index window at top of pager/messages
- # set alias_file=~/.mutt-alias.txt
- # source ~/.mutt-alias
- #set query_command= "abook --mutt-query '%s'" macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
- # set alias_file= ~/.mutt-alias.txt
- # set sort_alias= alias
- # set reverse_alias=yes
- # source $alias_file
- set text_flowed=yes
- set beep_new = yes
- # Replying
- #set reply_self = no # Reply to recipients, not to myself on my own msgs
- #set use_envelope_from=yes
- ignore *
- unignore From: Date: To: Cc: Bcc: Reply-To: Subject:
- hdr_order From: Date: To: Cc: Bcc: Reply-To: Subject:
- # # Add these header fields to every message
- # my_hdr Reply-To:
- set tilde # pad bottom blank lines when in page view
- set pager_index_lines=9 # 9 index mail lines on top when in page view
- # set query_command="goobook query '%s'"
- # macro index,pager a "<pipe-message>goobook add<return>" "add sender to google contacts"
- # bind editor <Tab> complete-query
- # bind editor <Tab> complete-query
- # bind editor ^T complete
- # -*- muttrc -*-
- #
- # Color settings for mutt.
- #
- # "DONE mails" ie those I have already replied to.
- color index cyan default '~Q'
- # Default color definitions
- color normal white default
- color hdrdefault green default
- color quoted green default
- color quoted1 yellow default
- color quoted2 red default
- color signature cyan default
- color indicator brightyellow blue
- color error brightred default
- color status brightwhite blue
- color tree brightmagenta default
- color tilde blue default
- color attachment brightyellow default
- color markers brightred default
- color message white default
- color search brightwhite magenta
- color bold brightyellow default
- # quote levels
- # color quoted color108 default # color237
- # color quoted1 color116 default
- # color quoted2 color247 default
- color quoted3 color108 default
- color quoted4 color116 default
- color quoted5 color247 default
- color quoted6 color108 default
- color quoted7 color116 default
- color quoted8 color247 default
- color quoted9 color108 default
- # Color definitions when on a mono screen
- mono bold bold
- mono underline underline
- mono indicator reverse
- mono error bold
- # Colors for items in the reader
- color header brightyellow default "^(From|Subject):"
- color header brightcyan default ^To:
- color header brightcyan default ^Cc:
- mono header bold "^(From|Subject):"
- # Many of these formulas were stolen from Jeremy Blosser
- # These would be much simpler if colors were additive.
- # regular new messages
- color index black white "~N !~T !~F !~p !~P"
- # regular tagged messages
- color index black cyan "~T !~F !~p !~P"
- # regular flagged messages
- color index black red "~F !~p !~P"
- # messages to me
- color index yellow default "~p !~N !~T !~F !~P"
- color index brightyellow white "~p ~N !~T !~F !~P"
- color index yellow cyan "~p ~T !~F !~P"
- color index yellow red "~p ~F !~P"
- # messages from me
- color index green default "~P !~N !~T !~F"
- color index green white "~P ~N !~T !~F"
- color index green cyan "~P ~T !~F"
- color index green red "~P ~F"
- #Mails addressed to [email protected]
- #color index cyan default "~C \"(lorenzo.isella)@\" !~N !~P !~p"
- # color index cyan default "~C \"(root|postmaster|abuse|mailer-daemon)@\" !~N !~P !~p"
- # Finding myself in Emails
- color body brightyellow yellow "(Lorenzo|Isella)"
- color body brightyellow yellow "[email protected]"
- color body brightyellow yellow "[email protected]"
- color body brightyellow yellow "(LORENZO|ISELLA)"
- color body brightyellow yellow "(lorenzo|isella)"
- # # color WHERE FOREGROUND BACKGROUND REGEXP
- # color index green default ~p # i am to/cc
- # color index cyan default ~P # from me
- # color index yellow default ~N # new
- # color index yellow default ~O # new
- # color index magenta default ~F # flagged
- # color index blue default ~T # tagged
- # color index red default ~D # deleted
- # # messages which mention my name in the body
- # color index yellow default "~b \"phil(_g|\!| lorenzo| isella)|pgregory\" !~N !~T !~F !~p !~P"
- # color index brightyellow white "~b \"phil(_g|\!| lorenzo| isella)|pgregory\" ~N !~T !~F !~p !~P"
- # color index yellow cyan "~b \"phil(_g|\!| lorenzo| isella)|pgregory\" ~T !~F !~p !~P"
- # color index yellow red "~b \"phil(_g|\!| lorenzo| isella)|pgregory\" ~F !~p !~P"
- # messages which are in reference to my mails
- # color index magenta default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
- # color index magenta white "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
- # color index magenta cyan "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
- # color index magenta red "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
- # # messages to root, etc.
- # color index cyan default "~C \"(root|postmaster|abuse|mailer-daemon)@\" !~N !~P !~p"
- # color index cyan white "~C \"(root|postmaster|abuse|mailer-daemon)@\" ~N !~P !~p"
- # big messages
- # color index brightred default "!~N ~z 102400-"
- # color index brightred cyan "~T !~F !~p !~P ~z 102400-"
- # color index brightred white "~N ~z 102400-"
- # deleted messages
- color index red default "!~N ~D"
- color index red white "~N ~D"
- # Highlights inside the body of a message.
- # Attribution lines
- color body magenta default "\\* [^<]+ <[^>]+> \\[[^]]+\\]:"
- color body magenta default "(^|[^[:alnum:]])on [a-z0-9 ,]+( at [a-z0-9:,. +-]+)? wrote:"
- # URLs
- color body brightyellow default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
- # email addresses
- color body brightmagenta default "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
- # PGP messages
- color body brightyellow default "^gpg: Good signature .*"
- color body white default "^gpg: "
- color body brightwhite red "^gpg: BAD signature from.*"
- mono body bold "^gpg: Good signature"
- mono body bold "^gpg: BAD signature from.*"
- # Various smilies and the like
- color body brightwhite default "<[Gg]>" # <g>
- color body brightwhite default "<[Bb][Gg]>" # <bg>
- color body brightwhite default " [;:]-*[})>{(<|]" # :-) etc...
- # *bold*
- color body brightblue default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
- mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
- # _underline_
- color body brightblue default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
- mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
- # /italic/ (Sometimes gets directory names)
- color body brightblue default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
- mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
- # Border lines.
- color body blue default "( *[-+=#*~_]){6,}"
- # Recognize these as own addresses for displaying +/T/C marks on messages, as
- # well as for the reverse_name setting
- # set alternates="[email protected]"
- # see http://bit.ly/1QVzmPm for the new syntax of set alternates
- alternates ^[email protected]$ ^[email protected]$
- # When replying to or forwarding a message sent to a recognized own address
- # (see above), reuse the same full name and address that the message was
- # addressed to as the new "from" address
- set reverse_name=yes
- set reverse_realname=yes
- set charset=utf-8
- ##################################################################
- #################################################################
- # # # This is what the account1 file looks like
- # set imap_user = "[email protected]"
- # set imap_pass = "blabla"
- # set smtp_url = "smtp://[email protected]:587/"
- # set smtp_pass = "blabla"
- # set from = "[email protected]"
- # set realname = "Lorenzo Isella"
- # set trash="imaps://imap.gmail.com/[Google Mail]/Bin"
- # set postponed="+[Google Mail]/Drafts"
- # macro index,pager gs "<change-folder>=[Google Mail]/Starred<enter>" "Go to starred messages"
- # macro index,pager gd "<change-folder>=[Google Mail]/Drafts<enter>" "Go to 'Drafts'"
- # macro index,pager gl "<change-folder>?" "Go to 'Label'"
- # macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
- # macro index,pager gt "<change-folder>=[Google Mail]/Sent Mail<enter>" "Go to 'Sent Mail'"
- # folder-hook +INBOX 'macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive conversation"'
- # # # # Choose a different color for the status bar for each account
- # color status yellow default
- ##########################################################
- ############################################################
- # # vim: filetype=muttrc
- # #
- # #
- # # make sure that you are using mutt linked against slang, not ncurses, or
- # # suffer the consequences of weird color issues. use "mutt -v" to check this.
- # # custom body highlights -----------------------------------------------
- # # highlight my name and other personally relevant strings
- # #color body yellow default "(ethan|schoonover)"
- # # custom index highlights ----------------------------------------------
- # # messages which mention my name in the body
- # #color index yellow default "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
- # #color index J_cream brightwhite "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
- # #color index yellow cyan "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
- # #color index yellow J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
- # ## messages which are in reference to my mails
- # #color index J_magent default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
- # #color index J_magent brightwhite "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
- # #color index J_magent cyan "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
- # #color index J_magent red "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
- # # for background in 16 color terminal, valid background colors include:
- # # base03, bg, black, any of the non brights
- # # basic colors ---------------------------------------------------------
- # color normal brightyellow default
- # color error red default
- # color tilde black default
- # color message cyan default
- # color markers red white
- # color attachment white default
- # color search brightmagenta default
- # #color status J_black J_status
- # color status brightyellow black
- # color indicator brightblack yellow
- # color tree yellow default # arrow in threads
- # # basic monocolor screen
- # mono bold bold
- # mono underline underline
- # mono indicator reverse
- # mono error bold
- # # index ----------------------------------------------------------------
- # #color index red default "~D(!~p|~p)" # deleted
- # #color index black default ~F # flagged
- # #color index brightred default ~= # duplicate messages
- # #color index brightgreen default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
- # #color index J_base default "~A~N!~T!~p!~Q!~F!~D" # the rest, new
- # color index red default "~A" # all messages
- # color index brightred default "~E" # expired messages
- # color index blue default "~N" # new messages
- # color index blue default "~O" # old messages
- # color index brightmagenta default "~Q" # messages that have been replied to
- # color index brightgreen default "~R" # read messages
- # color index blue default "~U" # unread messages
- # color index blue default "~U~$" # unread, unreferenced messages
- # color index brightyellow default "~v" # messages part of a collapsed thread
- # color index brightyellow default "~P" # messages from me
- # color index cyan default "~p!~F" # messages to me
- # color index cyan default "~N~p!~F" # new messages to me
- # color index cyan default "~U~p!~F" # unread messages to me
- # color index brightgreen default "~R~p!~F" # messages to me
- # color index red default "~F" # flagged messages
- # color index red default "~F~p" # flagged messages to me
- # color index red default "~N~F" # new flagged messages
- # color index red default "~N~F~p" # new flagged messages to me
- # color index red default "~U~F~p" # new flagged messages to me
- # color index black red "~D" # deleted messages
- # color index brightcyan default "~v~(!~N)" # collapsed thread with no unread
- # color index yellow default "~v~(~N)" # collapsed thread with some unread
- # color index green default "~N~v~(~N)" # collapsed thread with unread parent
- # # statusbg used to indicated flagged when foreground color shows other status
- # # for collapsed thread
- # color index red black "~v~(~F)!~N" # collapsed thread with flagged, no unread
- # color index yellow black "~v~(~F~N)" # collapsed thread with some unread & flagged
- # color index green black "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
- # color index green black "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
- # color index cyan black "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
- # color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
- # #color index yellow default "~(~N)" # messages in threads with some unread
- # #color index green default "~S" # superseded messages
- # #color index red default "~T" # tagged messages
- # #color index brightred red "~=" # duplicated messages
- # # message headers ------------------------------------------------------
- # #color header brightgreen default "^"
- # color hdrdefault brightgreen default
- # color header brightyellow default "^(From)"
- # color header blue default "^(Subject)"
- # # body -----------------------------------------------------------------
- # color quoted blue default
- # color quoted1 cyan default
- # color quoted2 yellow default
- # color quoted3 red default
- # color quoted4 brightred default
- # color signature brightgreen default
- # color bold black default
- # color underline black default
- # color normal default default
- # #
- # color body brightcyan default "[;:][-o][)/(|]" # emoticons
- # color body brightcyan default "[;:][)(|]" # emoticons
- # color body brightcyan default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
- # |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
- # |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
- # color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
- # color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
- # ## pgp
- # color body red default "(BAD signature)"
- # color body cyan default "(Good signature)"
- # color body brightblack default "^gpg: Good signature .*"
- # color body brightyellow default "^gpg: "
- # color body brightyellow red "^gpg: BAD signature from.*"
- # mono body bold "^gpg: Good signature"
- # mono body bold "^gpg: BAD signature from.*"
- # # yes, an insance URL regex
- # color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
- # # and a heavy handed email regex
- # #color body J_magent default "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
- # # Various smilies and the like
- # #color body brightwhite default "<[Gg]>" # <g>
- # #color body brightwhite default "<[Bb][Gg]>" # <bg>
- # #color body yellow default " [;:]-*[})>{(<|]" # :-) etc...
- # # *bold*
- # #color body blue default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
- # #mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
- # # _underline_
- # #color body blue default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
- # #mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
- # # /italic/ (Sometimes gets directory names)
- # #color body blue default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
- # #mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
- # # Border lines.
- # #color body blue default "( *[-+=#*~_]){6,}"
- # #folder-hook . "color status J_black J_status "
- # #folder-hook gmail/inbox "color status J_black yellow "
- # #folder-hook gmail/important "color status J_black yellow "
Add Comment
Please, Sign In to add comment