From c732fa2f0011656fd33153d6a30e12f42bf623a5 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Mon, 1 Oct 2018 23:49:37 +0200 Subject: move neomuttrc --- home/.config/neomutt/muttrc | 399 ++++++++++++++++++++++++++++++++++++++++++++ home/.muttrc | 399 -------------------------------------------- 2 files changed, 399 insertions(+), 399 deletions(-) create mode 100644 home/.config/neomutt/muttrc delete mode 100644 home/.muttrc (limited to 'home') diff --git a/home/.config/neomutt/muttrc b/home/.config/neomutt/muttrc new file mode 100644 index 0000000..f184af3 --- /dev/null +++ b/home/.config/neomutt/muttrc @@ -0,0 +1,399 @@ +# $Id$ + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# ME's personal .muttrc (Mutt 0.92.5) +# +# The format of this file is one command per line. Everything after a pound +# sign (#) is a comment, unless a backward slash (\) precedes it. Note: In +# folder-hook and send-hook you need to account for two levels of dequoting +# (see manual). +# + +# Note: $folder should be set _before_ any other path vars where `+' or `=' +# is used because paths are expanded when parsed +# +set mbox_type=Maildir +#set folder=~/Mail # where i keep my mailboxes + +set mask="!^\\." # which mailboxes to hide +set mbox="~/Mail" # where to store read messages +set record="+.Sent" # default location to save outgoing mail +set postponed="+.Postponed" # mailbox to store postponed messages in +#set spoolfile="~/Mail" # where my new mail is located + +set abort_unmodified=yes # automatically abort replies if I don't + # change the message +set alias_file=~/.mail_aliases # where I keep my aliases +set allow_8bit # never do Q-P encoding on legal 8-bit chars +set arrow_cursor # use -> instead of hiliting the whole line +#set ascii_chars # use ASCII instead of ACS chars for threads +#set askbcc +#set askcc +#set attribution="On %d, %n wrote:" # how to attribute replies +set autoedit # go to the editor right away when composing +#set auto_tag # always operate on tagged messages +#set charset="iso-8859-1" # character set for your terminal +set charset="utf-8" +set send_charset="us-ascii:utf-8" +set noconfirmappend # don't ask me if i want to append to mailboxes +#set confirmcreate # prompt when creating new files +set copy=yes # always save a copy of outgoing messages +set delete=yes # purge deleted messages without asking +set edit_headers # let me edit the message header when composing +#set editor="emacs -nw" # editor to use when composing messages +#set bounce=yes # don't ask about bouncing messages, just do it +#set fast_reply # skip initial prompts when replying +set fcc_attach # keep attachments in copies of sent messages? +#set force_name # fcc by recipient, create if mailbox doesn't exist +#set forward_decode # weed and MIME decode forwaded messages +#set forward_format="[%a: %s]" # subject to use when forwarding messages +#set forward_quote # quote the header and body of forward msgs +set index_format="%4C %Z %(%Y-%m-%d) %-15.15F (%4c) %s" # format of the index +#set folder_format="%t %N %f" +#set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" +set folder_format="%2C %t %6N %t %f" # format of the folder list +set hdrs # include `my_hdr' lines in outgoing messages +#set header # include message header when replying +set header_cache=~/.hcache # keep a cache of headers for faster loading (1.5.9+?) +set help # show the help lines +#set history=20 # number of lines of history to remember +#set hostname="mutt.org" # my DNS domain +unset imap_passive # Don't wait to enter mailbox manually +set imap_check_subscribed # Automatically poll subscribed mailboxes for new mail (new in 1.5.11) +set include # always include messages when replying +#set indent_string="> " # how to quote replied text +#set locale="C" # locale to use for printing time +set mailcap_path="~/.mailcap" # which external programs to use for different filetypes +set mail_check=10 # how often to poll for new mail +#set mbox=+mbox # where to store read messages +set menu_scroll # no implicit next-page/prev-page +#set metoo # remove my address when replying +set mime_forward # use message/rfc822 type to forward messages +set move=no # don't ask about moving messages, just don't do it +set net_inc=5 # Display download progress every 5K +#set nomark_old # i don't care about whether a message is old +#set pager=less # some people prefer an external pager +set pager_context=1 # no. of lines of context to give when scrolling +#set pager_format="-%S- %-20.20f %s" # format of the pager status bar +set pager_index_lines=6 # how many index lines to show in the pager +set pager_stop # don't move to the next message on next-page +#set pgp_strict_enc # use Q-P encoding when needed for PGP +#set post_indent_string='---end quoted text---' +#set print=ask-yes # ask me if I really want to print messages +set print_command="/bin/false" # how to print things (I like to save trees) +#set print_command="/usr/bin/lpr -P Brother_MFC-9142CDN" # how to print things (I like to save trees) +set noprompt_after # ask me for a command after the external pager exits +#set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text +set read_inc=1000 # show progress when reading a mailbox +#set recall # prompt to recall postponed messages +set reply_to # always use reply-to if present +#set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject: +#set resolve # move to the next message when an action is performed +set reverse_alias # use my address as it appears in the message i am replying to +#set reverse_name # attempt to look up my names for people +set nosave_empty # remove files when no messages are left +#set save_name # save outgoing messages by recipient, if the +#set sendmail="/usr/lib/sendmail -oi -oem" # how to deliver mail +#set shell="/bin/zsh" # program to use for shell escapes +#set signature="~/.signature" # file which contains my signature + +# I subscribe to a lot of mailing lists, so this is _very_ useful. This +# groups messages on the same subject to make it easier to follow a +# discussion. Mutt will draw a nice tree showing how the discussion flows. +set sort=threads # primary sorting method + +#set sort_aux=reverse-date-received # how to sort subthreads +#set sort_aux=reverse-date # date of the last message in thread +set sort_aux=last-date-received +#set sort_browser=reverse-date # how to sort files in the dir browser +set sort_browser=alpha # Sort mailboxes by alpha(bet) +#set sort_browser=unsorted # Do not sort mailboxes +set ssl_starttls=yes # activate TLS if available on the server +set ssl_force_tls=yes # always use SSL when connecting to a server +set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s)-%>-(%P)---" # statusline format +set status_on_top # some people prefer the status bar on top +set strict_threads=yes # don't thread by subject +set tilde=yes # virtual lines to pad blank lines in the pager +#set timeout=0 # timeout for prompt in the index menu +#set tmpdir=~/tmp # where to store temp files +#set to_chars=" +TCFL" +#set trash="=.Trash" +#set use_8bitmime # enable the -B8BITMIME sendmail flag +set nouse_domain # don't qualify local addresses with $domain +#set use_from # always generate the `From:' header field +set implicit_autoview=no # pager shows parts having a mailcap viewer +set crypt_verify_sig=yes # do automatically verify message signatures +#set visual=vim # editor invoked by ~v in the builtin editor +#set nowait_key # prompt when a pipe returns normal status +set write_inc=100 # show progress while writing mailboxes + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Header fields I don't normally want to see +# +ignore * # this means "ignore all lines by default" + +# I do want to see these fields, though! +unignore from to cc subject mail-followup-to \ + date x-url # this shows how nicely wrap long lines + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Color definitions +# +# overconfigured and partially sourced from +# https://github.com/mrtyler/dotfiles/blob/master/mutt-colors + +# Color terminals +color normal default default # normal text +color indicator black green # actual message +color tree cyan default # thread arrows +color status brightwhite green # status line +color error brightred default # errors +color message red default # info messages +color signature red default # signature +color attachment green default # MIME attachments +color search green default # search matches +color markers red default # + at beginning of wrapped lines +color tilde magenta default # ~ at beginning of empty lines +color hdrdefault green default # default header lines +color bold red default # hiliting bold patterns in body +color underline green default # hiliting underlined patterns in body +color quoted magenta default # quoted text +color quoted1 cyan default +color quoted2 red default +color quoted3 green default +color quoted4 blue default +color quoted5 magenta default +color quoted6 cyan default +color quoted7 red default +color quoted8 green default +color quoted9 cyan default + +# Various colors for different things in the mail text (URLs, email +# addresses, etc.). +color header brightgreen default "^(From|Subject):" +color body cyan default "((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{}\t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" # point out URLs +color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" # email addresses +color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" +color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" + +color index green default ~O # Old +color index brightgreen default ~N # New +color index yellow default ~F # Flagged +color index magenta default ~T # Tagged +color index red default ~D # Deleted + +# attributes when using a mono terminal +mono index bold ~N +mono index bold ~F +mono index bold ~T +mono index bold ~D +mono normal none # normal text +mono indicator reverse # actual message +mono tree none # thread arrows +mono status reverse # status line +mono error bold # errors +mono message none # info messages +mono quoted bold # quoted text +mono signature none # signature +mono attachment underline # MIME attachments +mono search reverse # search matches +mono tilde none # ~ at bottom of msg +mono markers bold # + at beginning of wrapped lines +mono hdrdefault none # default header lines +mono bold bold # hiliting bold patterns in body +mono underline underline # hiliting underlined patterns in body + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Key bindings +# +# maps: +# alias alias menu +# attach attachment menu +# browser directory browser +# compose compose menu +# index message index +# pgp pgp menu +# postpone postponed message recall menu +# generic generic keymap for all of the above +# editor line editor +# pager text viewer +# + +bind generic "\e<" first-entry # emacs-like bindings for moving to top/bottom +bind generic \e> last-entry +bind generic { top-page +bind generic } bottom-page +bind generic \177 last-entry + +macro index \cb " urlview" # simulate the old browse-url function + +bind editor complete-query +bind editor ^T complete + +macro index "x" |urlview +macro pager "x" |urlview + +#macro index \# "bug" # search for bugs +#macro index "\"" " set realname=\"real hairy macro\" ?realname" # and a comment to boot! +#macro index f1 "woohoo!" + +bind pager G bottom # just like vi and less +#macro pager \Ck " pgp -kaf" # a comment is valid here +#macro pager X " morepgp" # pipe PGP message to a script + +macro index,pager c "?" "open a different folder" + +macro index,pager C "?" "copy a message to a mailbox" +macro index,pager M "?" "move a message to a mailbox" +#macro index C "?" "copy a message to a mailbox" +#macro index M "?" "move a message to a mailbox" + +#macro compose A "?" "attach message(s) to this message" +macro compose A "?" "attach message(s) to this message" + +#bind editor \cy eol # make ^Y jump to the end of the line + +# key binds for pgp +bind compose p pgp-menu +macro compose Y pfy "send mail without GPG" + +# show _all_ mails +macro index \# "l~A\r" "Show ALL Mails" +# show flagged and unread mails (i.e. important) +macro index \' "l(~F | ~U) ! ~D\r" "Show Important Mails" +# show unreplied and flagged mails (i.e. TODO) +macro index \` "l(! ~Q | ~F) ! ~D\r" "Show TODO Mail" +# mark everything as read +macro index + "T~N\n;N;t" "Mark everything as read" + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# User Defined Headers +# + +#my_hdr X-Useless-Header: Look ma, it's a \# sign! # real comment +#my_hdr X-Operating-System: `uname -a` +my_hdr X-Clacks-Overhead: GNU Terry Pratchett + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Specify default filename when saving messages +# +# save-hook [!] +# +# is provided as default when saving messages from + +#save-hook mutt- =mutt-mail +#save-hook aol\\.com$ +spam +#save-hook ^judge +diplomacy + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Change settings based upon message recipient +# +# send-hook [!] +# +# is executed when sending mail to an address matching + +#send-hook mutt- 'set signature=~/.sigmutt; my_hdr From: Mutt User ' + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Aliases +# +# alias
[ ,
... ] + +#alias exam "\# to annoy michael" +#alias me Michael Elkins # me! +#alias mutt-dev Mutt Development List # power users +#alias mutt-users Mutt User List +#alias mutt-announce Mutt Announcement List +#alias wmaker WindowMaker Mailing List + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Mailboxes to watch for new mail +# +# mailboxes [ ... ] +# + +#mailboxes `echo -n "+ "; find ~/Mail -maxdepth 1 -type d -name ".*" -printf "+'%f' "` +#mailboxes `echo -n "+"; for i in $(find ~/Mail -maxdepth 1 -type d -name ".*" | sort); do echo -n " +$(basename $i)"; done` +#mailboxes ! + `\ +#for file in ~/Mail/.*; do \ +# box=$(basename "$file"); \ +# if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = '.customflags' -a ! "$box" = '.subscriptions' ]; then \ +# echo -n "\"+$box\" "; \ +# fi; \ +#done` + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Specify the order of the headers to appear when displaying a message +# +# hdr_order [ ... ] +# + +unhdr_order * # forget the previous settings +hdr_order date from to cc subject + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Identify mailing lists I subscribe to +# +# lists [ ... ] + +#lists ^mutt-dev@mutt\\.org$ ^mutt-users@mutt\\.org$ + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Automatically use entries from ~/.mailcap to view these MIME types +# +# auto_view [ ... ] + +auto_view application/x-gunzip +auto_view application/x-gzip + +# show interesting stuff by default +# you should install antiword! :-) +#auto_view text/enriched +#auto_view application/pgp-signature +#auto_view application/msword +#auto_view application/x-troff-man +#auto_view text/x-vcard +auto_view text/html + +# but this will render all html, we only want to autoview it when we don't have +# text/plain: +alternative_order text/enriched text/plain text + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# Scoring +# +# score +# +# 9999 and -9999 are special values which cause processing of hooks to stop +# at that entry. If you prefix the score with an equal sign (=), the score +# is assigned to the message and processing stops. + +#score '~f ^me@cs\.hmc\.edu$' 1000 +#score '~t mutt | ~c mutt' =500 +#score '~f aol\.com$' -9999 + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# +# I use Mutt on several different machines, so I put local config commands +# in a separate file so I can have the rest of the settings the same on all +# machines. +# + +source ~/.config/neomutt/muttrc.local # config commands local to this site +#source ~/.config/neomutt/muttrc.tuwien # config commands for imap to tuwien +#source ~/.config/neomutt/muttrc.ionic # config commands for imap to ionic + +# EOF diff --git a/home/.muttrc b/home/.muttrc deleted file mode 100644 index 81b7ae8..0000000 --- a/home/.muttrc +++ /dev/null @@ -1,399 +0,0 @@ -# $Id$ - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# ME's personal .muttrc (Mutt 0.92.5) -# -# The format of this file is one command per line. Everything after a pound -# sign (#) is a comment, unless a backward slash (\) precedes it. Note: In -# folder-hook and send-hook you need to account for two levels of dequoting -# (see manual). -# - -# Note: $folder should be set _before_ any other path vars where `+' or `=' -# is used because paths are expanded when parsed -# -set mbox_type=Maildir -#set folder=~/Mail # where i keep my mailboxes - -set mask="!^\\." -set mbox="~/Mail" # where to store read messages -set record="+.Sent" # default location to save outgoing mail -set postponed="+.Postponed" # mailbox to store postponed messages in -#set spoolfile="~/Mail" # where my new mail is located - -set abort_unmodified=yes # automatically abort replies if I don't - # change the message -set alias_file=~/.mail_aliases # where I keep my aliases -set allow_8bit # never do Q-P encoding on legal 8-bit chars -set arrow_cursor # use -> instead of hiliting the whole line -#set ascii_chars # use ASCII instead of ACS chars for threads -#set askbcc -#set askcc -#set attribution="On %d, %n wrote:" # how to attribute replies -set autoedit # go to the editor right away when composing -#set auto_tag # always operate on tagged messages -#set charset="iso-8859-1" # character set for your terminal -set charset="utf-8" -set send_charset="us-ascii:utf-8" -set noconfirmappend # don't ask me if i want to append to mailboxes -#set confirmcreate # prompt when creating new files -set copy=yes # always save a copy of outgoing messages -set delete=yes # purge deleted messages without asking -set edit_headers # let me edit the message header when composing -#set editor="emacs -nw" # editor to use when composing messages -#set bounce=yes # don't ask about bouncing messages, just do it -#set fast_reply # skip initial prompts when replying -set fcc_attach # keep attachments in copies of sent messages? -#set force_name # fcc by recipient, create if mailbox doesn't exist -#set forward_decode # weed and MIME decode forwaded messages -#set forward_format="[%a: %s]" # subject to use when forwarding messages -#set forward_quote # quote the header and body of forward msgs -set index_format="%4C %Z %(%Y-%m-%d) %-15.15F (%4c) %s" # format of the index -#set folder_format="%t %N %f" -#set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" -set folder_format="%2C %t %6N %t %f" -set hdrs # include `my_hdr' lines in outgoing messages -#set header # include message header when replying -set header_cache=~/.hcache # keep a cache of headers for faster loading (1.5.9+?) -set help # show the help lines -#set history=20 # number of lines of history to remember -#set hostname="mutt.org" # my DNS domain -unset imap_passive # Don't wait to enter mailbox manually -set imap_check_subscribed # Automatically poll subscribed mailboxes for new mail (new in 1.5.11) -set include # always include messages when replying -#set indent_string="> " # how to quote replied text -#set locale="C" # locale to use for printing time -set mailcap_path="~/.mailcap" -set mail_check=10 # how often to poll for new mail -#set mbox=+mbox # where to store read messages -set menu_scroll # no implicit next-page/prev-page -#set metoo # remove my address when replying -set mime_forward # use message/rfc822 type to forward messages -set move=no # don't ask about moving messages, just don't do it -set net_inc=5 # Display download progress every 5K -#set nomark_old # i don't care about whether a message is old -#set pager=less # some people prefer an external pager -set pager_context=1 # no. of lines of context to give when scrolling -#set pager_format="-%S- %-20.20f %s" # format of the pager status bar -set pager_index_lines=6 # how many index lines to show in the pager -set pager_stop # don't move to the next message on next-page -#set pgp_strict_enc # use Q-P encoding when needed for PGP -#set post_indent_string='---end quoted text---' -#set print=ask-yes # ask me if I really want to print messages -set print_command="/bin/false" # how to print things (I like to save trees) -#set print_command="/usr/bin/lpr -P Brother_MFC-9142CDN" # how to print things (I like to save trees) -set noprompt_after # ask me for a command after the external pager exits -#set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text -set read_inc=1000 # show progress when reading a mailbox -#set recall # prompt to recall postponed messages -set reply_to # always use reply-to if present -#set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject: -#set resolve # move to the next message when an action is performed -set reverse_alias # use my address as it appears in the message i am replying to -#set reverse_name # attempt to look up my names for people -set nosave_empty # remove files when no messages are left -#set save_name # save outgoing messages by recipient, if the -#set sendmail="/usr/lib/sendmail -oi -oem" # how to deliver mail -#set shell="/bin/zsh" # program to use for shell escapes -#set signature="~/.signature" # file which contains my signature - -# I subscribe to a lot of mailing lists, so this is _very_ useful. This -# groups messages on the same subject to make it easier to follow a -# discussion. Mutt will draw a nice tree showing how the discussion flows. -set sort=threads # primary sorting method - -#set sort_aux=reverse-date-received # how to sort subthreads -#set sort_aux=reverse-date # date of the last message in thread -set sort_aux=last-date-received -#set sort_browser=reverse-date # how to sort files in the dir browser -set sort_browser=alpha # Sort mailboxes by alpha(bet) -#set sort_browser=unsorted # Do not sort mailboxes -set ssl_starttls=yes # activate TLS if available on the server -set ssl_force_tls=yes # always use SSL when connecting to a server -set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s)-%>-(%P)---" -set status_on_top # some people prefer the status bar on top -set strict_threads=yes # don't thread by subject -set tilde=yes # virtual lines to pad blank lines in the pager -#set timeout=0 # timeout for prompt in the index menu -#set tmpdir=~/tmp # where to store temp files -#set to_chars=" +TCFL" -#set trash="=.Trash" -#set use_8bitmime # enable the -B8BITMIME sendmail flag -set nouse_domain # don't qualify local addresses with $domain -#set use_from # always generate the `From:' header field -set implicit_autoview=no # pager shows parts having a mailcap viewer -set crypt_verify_sig=yes # do automatically verify message signatures -#set visual=vim # editor invoked by ~v in the builtin editor -#set nowait_key # prompt when a pipe returns normal status -set write_inc=100 # show progress while writing mailboxes - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Header fields I don't normally want to see -# -ignore * # this means "ignore all lines by default" - -# I do want to see these fields, though! -unignore from to cc subject mail-followup-to \ - date x-url # this shows how nicely wrap long lines - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Color definitions -# -# overconfigured and partially sourced from -# https://github.com/mrtyler/dotfiles/blob/master/mutt-colors - -# Color terminals -color normal default default # normal text -color indicator black green # actual message -color tree cyan default # thread arrows -color status brightwhite green # status line -color error brightred default # errors -color message red default # info messages -color signature red default # signature -color attachment green default # MIME attachments -color search green default # search matches -color markers red default # + at beginning of wrapped lines -color tilde magenta default # ~ at beginning of empty lines -color hdrdefault green default # default header lines -color bold red default # hiliting bold patterns in body -color underline green default # hiliting underlined patterns in body -color quoted magenta default # quoted text -color quoted1 cyan default -color quoted2 red default -color quoted3 green default -color quoted4 blue default -color quoted5 magenta default -color quoted6 cyan default -color quoted7 red default -color quoted8 green default -color quoted9 cyan default - -# Various colors for different things in the mail text (URLs, email -# addresses, etc.). -color header brightgreen default "^(From|Subject):" -color body cyan default "((ftp|http|https)://|(file|mailto|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{}\t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" # point out URLs -color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" # email addresses -color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" -color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" - -color index green default ~O # Old -color index brightgreen default ~N # New -color index yellow default ~F # Flagged -color index magenta default ~T # Tagged -color index red default ~D # Deleted - -# attributes when using a mono terminal -mono index bold ~N -mono index bold ~F -mono index bold ~T -mono index bold ~D -mono normal none # normal text -mono indicator reverse # actual message -mono tree none # thread arrows -mono status reverse # status line -mono error bold # errors -mono message none # info messages -mono quoted bold # quoted text -mono signature none # signature -mono attachment underline # MIME attachments -mono search reverse # search matches -mono tilde none # ~ at bottom of msg -mono markers bold # + at beginning of wrapped lines -mono hdrdefault none # default header lines -mono bold bold # hiliting bold patterns in body -mono underline underline # hiliting underlined patterns in body - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Key bindings -# -# maps: -# alias alias menu -# attach attachment menu -# browser directory browser -# compose compose menu -# index message index -# pgp pgp menu -# postpone postponed message recall menu -# generic generic keymap for all of the above -# editor line editor -# pager text viewer -# - -bind generic "\e<" first-entry # emacs-like bindings for moving to top/bottom -bind generic \e> last-entry -bind generic { top-page -bind generic } bottom-page -bind generic \177 last-entry - -macro index \cb " urlview" # simulate the old browse-url function - -bind editor complete-query -bind editor ^T complete - -macro index "x" |urlview -macro pager "x" |urlview - -#macro index \# "bug" # search for bugs -#macro index "\"" " set realname=\"real hairy macro\" ?realname" # and a comment to boot! -#macro index f1 "woohoo!" - -bind pager G bottom # just like vi and less -#macro pager \Ck " pgp -kaf" # a comment is valid here -#macro pager X " morepgp" # pipe PGP message to a script - -macro index,pager c "?" "open a different folder" - -macro index,pager C "?" "copy a message to a mailbox" -macro index,pager M "?" "move a message to a mailbox" -#macro index C "?" "copy a message to a mailbox" -#macro index M "?" "move a message to a mailbox" - -#macro compose A "?" "attach message(s) to this message" -macro compose A "?" "attach message(s) to this message" - -#bind editor \cy eol # make ^Y jump to the end of the line - -# key binds for pgp -bind compose p pgp-menu -macro compose Y pfy "send mail without GPG" - -# show _all_ mails -macro index \# "l~A\r" "Show ALL Mails" -# show flagged and unread mails (i.e. important) -macro index \' "l(~F | ~U) ! ~D\r" "Show Important Mails" -# show unreplied and flagged mails (i.e. TODO) -macro index \` "l(! ~Q | ~F) ! ~D\r" "Show TODO Mail" -# mark everything as read -macro index + "T~N\n;N;t" "Mark everything as read" - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# User Defined Headers -# - -#my_hdr X-Useless-Header: Look ma, it's a \# sign! # real comment -#my_hdr X-Operating-System: `uname -a` -my_hdr X-Clacks-Overhead: GNU Terry Pratchett - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Specify default filename when saving messages -# -# save-hook [!] -# -# is provided as default when saving messages from - -#save-hook mutt- =mutt-mail -#save-hook aol\\.com$ +spam -#save-hook ^judge +diplomacy - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Change settings based upon message recipient -# -# send-hook [!] -# -# is executed when sending mail to an address matching - -#send-hook mutt- 'set signature=~/.sigmutt; my_hdr From: Mutt User ' - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Aliases -# -# alias
[ ,
... ] - -#alias exam "\# to annoy michael" -#alias me Michael Elkins # me! -#alias mutt-dev Mutt Development List # power users -#alias mutt-users Mutt User List -#alias mutt-announce Mutt Announcement List -#alias wmaker WindowMaker Mailing List - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Mailboxes to watch for new mail -# -# mailboxes [ ... ] -# - -#mailboxes `echo -n "+ "; find ~/Mail -maxdepth 1 -type d -name ".*" -printf "+'%f' "` -#mailboxes `echo -n "+"; for i in $(find ~/Mail -maxdepth 1 -type d -name ".*" | sort); do echo -n " +$(basename $i)"; done` -#mailboxes ! + `\ -#for file in ~/Mail/.*; do \ -# box=$(basename "$file"); \ -# if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = '.customflags' -a ! "$box" = '.subscriptions' ]; then \ -# echo -n "\"+$box\" "; \ -# fi; \ -#done` - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Specify the order of the headers to appear when displaying a message -# -# hdr_order [ ... ] -# - -unhdr_order * # forget the previous settings -hdr_order date from to cc subject - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Identify mailing lists I subscribe to -# -# lists [ ... ] - -#lists ^mutt-dev@mutt\\.org$ ^mutt-users@mutt\\.org$ - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Automatically use entries from ~/.mailcap to view these MIME types -# -# auto_view [ ... ] - -auto_view application/x-gunzip -auto_view application/x-gzip - -# show interesting stuff by default -# you should install antiword! :-) -#auto_view text/enriched -#auto_view application/pgp-signature -#auto_view application/msword -#auto_view application/x-troff-man -#auto_view text/x-vcard -auto_view text/html - -# but this will render all html, we only want to autoview it when we don't have -# text/plain: -alternative_order text/enriched text/plain text - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# Scoring -# -# score -# -# 9999 and -9999 are special values which cause processing of hooks to stop -# at that entry. If you prefix the score with an equal sign (=), the score -# is assigned to the message and processing stops. - -#score '~f ^me@cs\.hmc\.edu$' 1000 -#score '~t mutt | ~c mutt' =500 -#score '~f aol\.com$' -9999 - -# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# -# I use Mutt on several different machines, so I put local config commands -# in a separate file so I can have the rest of the settings the same on all -# machines. -# - -source ~/.muttrc.local # config commands local to this site -#source ~/.muttrc.tuwien # config commands for imap to tuwien -#source ~/.muttrc.ionic # config commands for imap to ionic - -# EOF -- cgit v1.2.3