User Tools

Site Tools


muttrc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
muttrc [2007/10/10 10:43]
4.245.75.112
muttrc [2008/05/16 11:41]
4.245.73.27
Line 6: Line 6:
 # muttrc is the primary configuration file for mutt.                           * # muttrc is the primary configuration file for mutt.                           *
 #                                                                              * #                                                                              *
 +# *******************************************************************************
 +
 +#​*******************************************************************************
 +# If the system has bad defaults, get rid of them.
 #​******************************************************************************* #​*******************************************************************************
 +#reset all               # reset all variables to compiled defaults.
 +#unhook *                # remove all hooks
  
 #​******************************************************************************* #​*******************************************************************************
Line 27: Line 33:
 #set alternates="​^$USER@([[:​alpha:​]]+\.)?​sluug.org$" ​ # Before 1.5.6 #set alternates="​^$USER@([[:​alpha:​]]+\.)?​sluug.org$" ​ # Before 1.5.6
      ​alternates "​^$USER@([[:​alpha:​]]+\.)?​sluug.org$" ​ # 1.5.6 and after      ​alternates "​^$USER@([[:​alpha:​]]+\.)?​sluug.org$" ​ # 1.5.6 and after
 +set use_from=yes ​                 # Generate From: header when sending messages.
 set from=$USER@mail.sluug.org set from=$USER@mail.sluug.org
 set hostname=mail.sluug.org set hostname=mail.sluug.org
Line 36: Line 43:
 set move=no ​                   # Don't move read messages to $mbox mailbox set move=no ​                   # Don't move read messages to $mbox mailbox
 #set delete=yes #set delete=yes
-set index_format ="%2C %Z %[%m/%d %H%M] %-20.20a%5l %s"+set index_format ="%2C %Z %[%m/%d %H%M] %-20.20a%5c %s"
 set folder_format="​%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" set folder_format="​%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
 set sort=mailbox-order ​        # Sort messages in the index by:  unsorted set sort=mailbox-order ​        # Sort messages in the index by:  unsorted
Line 49: Line 56:
 # Headers when reading a message # Headers when reading a message
 #​******************************************************************************* #​*******************************************************************************
-ignore *+ignore *                       # Don't display any header unless unignored.
 #unignore from date subject to cc X-SLUUG-MailScanner-SpamCheck #unignore from date subject to cc X-SLUUG-MailScanner-SpamCheck
 unignore ​ "From " X-SLUUG-MailScanner-SpamCheck:​ Date: Sender: Reply-To: From: To: Cc: Subject: unignore ​ "From " X-SLUUG-MailScanner-SpamCheck:​ Date: Sender: Reply-To: From: To: Cc: Subject:
Line 62: Line 69:
 my_hdr ​  ​Bcc: ​  ​$USER ​         # Add blind CC to self by default my_hdr ​  ​Bcc: ​  ​$USER ​         # Add blind CC to self by default
 set attribution="​On %[%b %d, %Y at %H:%M:%S], %n wrote:​\n" ​ # Default: "On %d, %n wrote:"​ set attribution="​On %[%b %d, %Y at %H:%M:%S], %n wrote:​\n" ​ # Default: "On %d, %n wrote:"​
 +set forward_format="​FW:​ %s"
 +# Can't change the "​Forwarded message from" heading, it is hardcoded in send.c.
 set indent_string=">" ​         # Default: "> " set indent_string=">" ​         # Default: "> "
 set include=yes ​               # Always quote original message when replying set include=yes ​               # Always quote original message when replying
Line 68: Line 77:
 # Hooks # Hooks
 #​******************************************************************************* #​*******************************************************************************
-save-hook ​   '~e ^owner-sysadmin@' ​   +bbs    # Mailing list to special mailbox + 
-save-hook ​   '~e ^owner-steercom@' ​   +sluug ​ # Mailing list to special mailbox+# For saving mail 
 +save-hook ​   '~e ^sysadmin-bounces@' ​ +bbs    # Mailing list to special mailbox 
 +save-hook ​   '~e ^steercom-bounces@' ​ +sluug ​ # Mailing list to special mailbox 
 + 
 +# For sorting based on inbox 
 +folder-hook .       set sort=mailbox-order ​   # Unsorted 
 +folder-hook Maildir set sort=date-received ​   # Random order otherwise
  
 #​******************************************************************************* #​*******************************************************************************
Line 91: Line 106:
 # Foreground and background can be one of the following: # Foreground and background can be one of the following:
 #     white black green magenta blue cyan yellow red default colorx ​ #     white black green magenta blue cyan yellow red default colorx ​
-color header ​    brightgreen ​   ​black    .+# Foreground can be prefixed with "​bright"​ to make the color boldfaced. 
 +color header ​          cyan     black    .
 color header ​          ​green ​   black    ^X-SLUUG-MailScanner-SpamCheck:​ color header ​          ​green ​   black    ^X-SLUUG-MailScanner-SpamCheck:​
-color header ​          magenta  ​black    ^From +color header ​    brightgreen ​   ​black    ^From 
 color header ​    ​brightred ​     black    ^Subject: color header ​    ​brightred ​     black    ^Subject:
 color header ​          ​yellow ​  ​black ​   ^Date: color header ​          ​yellow ​  ​black ​   ^Date:
Line 103: Line 119:
 color status ​          ​white ​   blue color status ​          ​white ​   blue
 color message ​         yellow ​  blue color message ​         yellow ​  blue
-color index            magenta ​ white    ~ # Color for  ​new      ​messages +uncolor index                            *   # Clear all color index entries 
-color index            red      ​white    ​~ # Color for  unopened messages +color index            blue     ​white ​   .*  # Color unless overridden 
-color index            ​cyan ​    ​white ​   ~ # Color for  ​deleted  ​messages+color index            magenta ​ white    ~ # Color for deleted ​ ​messages 
 +color index            red      ​yellow ​  ~ # Color for new      messages 
 +color index            magenta ​ yellow ​  ​~O ​ # Color for unopened messages 
 +color index      ​brightwhite ​   blue     ~ # Color for tagged ​  messages 
 +color indicator ​  ​brightdefault green        # Selected item in a menu 
 +# The default indicator is reverse video, but since it is set in the 
 +# Debian /​etc/​Muttrc,​ there is no way to unset it back to reverse video. 
 +# So either use -n to skip /etc/Muttrc or change to something better looking. 
 mono  error            standout mono  error            standout
 mono  status ​          ​reverse mono  status ​          ​reverse
Line 167: Line 191:
 bind  index   ​k ​          ​previous-entry bind  index   ​k ​          ​previous-entry
  
 +bind  index   ​\Cd ​        ​half-down
 +bind  index   ​\Cn ​        ​half-down
 +bind  index   ​) ​          ​half-down
 +bind  index   ​\Cu ​        ​half-up
 +bind  index   ​\Cp ​        ​half-up
 +bind  index   ​( ​          ​half-up
 bind  index   ​\Cf ​        ​next-page ​          # \Cf was '​f'​orget-passphrase bind  index   ​\Cf ​        ​next-page ​          # \Cf was '​f'​orget-passphrase
 bind  index   ​pagedown ​   next-page bind  index   ​pagedown ​   next-page
Line 234: Line 264:
 bind  pager   ​q ​          exit bind  pager   ​q ​          exit
  
-bind  pager   ​4 ​          ​noop +bind  pager   ​4 ​          ​noop ​            # To prevent typo from invoking jump prompt 
-bind  pager   ​5 ​          ​noop +bind  pager   ​5 ​          ​noop ​            # To prevent typo from invoking jump prompt 
-bind  pager   ​6 ​          ​noop +bind  pager   ​6 ​          ​noop ​            # To prevent typo from invoking jump prompt 
-bind  pager   ​0 ​          noop+bind  pager   ​0 ​          ​noop ​            # To prevent typo from invoking jump prompt
  
 ## =========================== ## ===========================
muttrc.txt · Last modified: 2008/05/16 11:41 by 4.245.73.27