📄 muttrc
字号:
# will be saved for later references. Also see ``$record'',# ``$save_name'', ``$force_name'' and ``fcc-hook''.# # # set crypt_use_gpgme=no## Name: crypt_use_gpgme# Type: boolean# Default: no# # # This variable controls the use the GPGME enabled crypto backends.# If it is set and Mutt was build with gpgme support, the gpgme code for# S/MIME and PGP will be used instead of the classic code. Note, that# you need to use this option in .muttrc as it won't have any effect when # used interactively.# # # set crypt_autopgp=yes## Name: crypt_autopgp# Type: boolean# Default: yes# # # This variable controls whether or not mutt may automatically enable# PGP encryption/signing for messages. See also ``$crypt_autoencrypt'',# ``$crypt_replyencrypt'',# ``$crypt_autosign'', ``$crypt_replysign'' and ``$smime_is_default''.# # # set crypt_autosmime=yes## Name: crypt_autosmime# Type: boolean# Default: yes# # # This variable controls whether or not mutt may automatically enable# S/MIME encryption/signing for messages. See also ``$crypt_autoencrypt'',# ``$crypt_replyencrypt'',# ``$crypt_autosign'', ``$crypt_replysign'' and ``$smime_is_default''.# # # set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"## Name: date_format# Type: string# Default: "!%a, %b %d, %Y at %I:%M:%S%p %Z"# # # This variable controls the format of the date printed by the ``%d''# sequence in ``$index_format''. This is passed to the strftime# call to process the date. See the man page for strftime(3) for# the proper syntax.# # Unless the first character in the string is a bang (``!''), the month# and week day names are expanded according to the locale specified in# the variable ``$locale''. If the first character in the string is a# bang, the bang is discarded, and the month and week day names in the# rest of the string are expanded in the C locale (that is in US# English).# # # set default_hook="~f %s !~P | (~P ~C %s)"## Name: default_hook# Type: string# Default: "~f %s !~P | (~P ~C %s)"# # # This variable controls how send-hooks, message-hooks, save-hooks,# and fcc-hooks will# be interpreted if they are specified with only a simple regexp,# instead of a matching pattern. The hooks are expanded when they are# declared, so a hook will be interpreted according to the value of this# variable at the time the hook is declared. The default value matches# if the message is either from a user matching the regular expression# given, or if it is from you (if the from address matches# ``alternates'') and is to or cc'ed to a user matching the given# regular expression.# # # set delete=ask-yes## Name: delete# Type: quadoption# Default: ask-yes# # # Controls whether or not messages are really deleted when closing or# synchronizing a mailbox. If set to yes, messages marked for# deleting will automatically be purged without prompting. If set to# no, messages marked for deletion will be kept in the mailbox.# # # set delete_untag=yes## Name: delete_untag# Type: boolean# Default: yes# # # If this option is set, mutt will untag messages when marking them# for deletion. This applies when you either explicitly delete a message,# or when you save it to another folder.# # # set digest_collapse=yes## Name: digest_collapse# Type: boolean# Default: yes# # # If this option is set, mutt's received-attachments menu will not show the subparts of# individual messages in a multipart/digest. To see these subparts, press 'v' on that menu.# # # set display_filter=""## Name: display_filter# Type: path# Default: ""# # # When set, specifies a command used to filter messages. When a message# is viewed it is passed as standard input to $display_filter, and the# filtered message is read from the standard output.# # # set dotlock_program="/usr/local/bin/mutt_dotlock"## Name: dotlock_program# Type: path# Default: "/usr/local/bin/mutt_dotlock"# # # Contains the path of the mutt_dotlock (8) binary to be used by# mutt.# # # set dsn_notify=""## Name: dsn_notify# Type: string# Default: ""# # # Note: you should not enable this unless you are using Sendmail# 8.8.x or greater.# # This variable sets the request for when notification is returned. The# string consists of a comma separated list (no spaces!) of one or more# of the following: never, to never request notification,# failure, to request notification on transmission failure,# delay, to be notified of message delays, success, to be# notified of successful transmission.# # Example: set dsn_notify="failure,delay"# # # set dsn_return=""## Name: dsn_return# Type: string# Default: ""# # # Note: you should not enable this unless you are using Sendmail# 8.8.x or greater.# # This variable controls how much of your message is returned in DSN# messages. It may be set to either hdrs to return just the# message header, or full to return the full message.# # Example: set dsn_return=hdrs# # # set duplicate_threads=yes## Name: duplicate_threads# Type: boolean# Default: yes# # # This variable controls whether mutt, when sorting by threads, threads# messages with the same message-id together. If it is set, it will indicate# that it thinks they are duplicates of each other with an equals sign# in the thread diagram.# # # set edit_headers=no## Name: edit_headers# Type: boolean# Default: no# # # This option allows you to edit the header of your outgoing messages# along with the body of your message.# # # set editor=""## Name: editor# Type: path# Default: ""# # # This variable specifies which editor is used by mutt.# It defaults to the value of the VISUAL, or EDITOR, environment# variable, or to the string "vi" if neither of those are set.# # # set encode_from=no## Name: encode_from# Type: boolean# Default: no# # # When set, mutt will quoted-printable encode messages when# they contain the string "From " in the beginning of a line.# Useful to avoid the tampering certain mail delivery and transport# agents tend to do with messages.# # # set envelope_from_address=""## Name: envelope_from_address# Type: e-mail address# Default: ""# # # Manually sets the envelope sender for outgoing messages.# This value is ignored if ``$use_envelope_from'' is unset.# # # set escape="~"## Name: escape# Type: string# Default: "~"# # # Escape character to use for functions in the builtin editor.# # # set fast_reply=no## Name: fast_reply# Type: boolean# Default: no# # # When set, the initial prompt for recipients and subject are skipped# when replying to messages, and the initial prompt for subject is# skipped when forwarding messages.# # Note: this variable has no effect when the ``$autoedit''# variable is set.# # # set fcc_attach=yes## Name: fcc_attach# Type: boolean# Default: yes# # # This variable controls whether or not attachments on outgoing messages# are saved along with the main body of your message.# # # set fcc_clear=no## Name: fcc_clear# Type: boolean# Default: no# # # When this variable is set, FCCs will be stored unencrypted and# unsigned, even when the actual message is encrypted and/or# signed.# (PGP only)# # # set folder="~/Mail"## Name: folder# Type: path# Default: "~/Mail"# # # Specifies the default location of your mailboxes. A `+' or `=' at the# beginning of a pathname will be expanded to the value of this# variable. Note that if you change this variable from the default# value you need to make sure that the assignment occurs before# you use `+' or `=' for any other variables since expansion takes place# during the `set' command.# # # set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"## Name: folder_format# Type: string# Default: "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"# # # This variable allows you to customize the file browser display to your# personal taste. This string is similar to ``$index_format'', but has# its own set of printf()-like sequences:# # %C current file number# %d date/time folder was last modified# %f filename# %F file permissions# %g group name (or numeric gid, if missing)# %l number of hard links# %N N if folder has new mail, blank otherwise# %s size in bytes# %t * if the file is tagged, blank otherwise# %u owner name (or numeric uid, if missing)# %>X right justify the rest of the string and pad with character "X"# %|X pad to the end of the line with character "X"# # # set followup_to=yes## Name: followup_to# Type: boolean# Default: yes# # # Controls whether or not the Mail-Followup-To header field is# generated when sending mail. When set, Mutt will generate this# field when you are replying to a known mailing list, specified with# the ``subscribe'' or ``lists'' commands.# # This field has two purposes. First, preventing you from# receiving duplicate copies of replies to messages which you send# to mailing lists, and second, ensuring that you do get a reply# separately for any messages sent to known lists to which you are# not subscribed. The header will contain only the list's address# for subscribed lists, and both the list address and your own# email address for unsubscribed lists. Without this header, a# group reply to your message sent to a subscribed list will be# sent to both the list and your address, resulting in two copies# of the same email for you.# # # set force_name=no## Name: force_name# Type: boolean# Default: no# # # This variable is similar to ``$save_name'', except that Mutt will# store a copy of your outgoing message by the username of the address# you are sending to even if that mailbox does not exist.# # Also see the ``$record'' variable.# # # set forward_decode=yes## Name: forward_decode# Type: boolean# Default: yes# # # Controls the decoding of complex MIME messages into text/plain when# forwarding a message. The message header is also RFC2047 decoded.# This variable is only used, if ``$mime_forward'' is unset,# otherwise ``$mime_forward_decode'' is used instead.# # # set forward_edit=yes## Name: forward_edit# Type: quadoption# Default: yes# # # This quadoption controls whether or not the user is automatically# placed in the editor when forwarding messages. For those who always want# to forward with no modification, use a setting of ``no''.# # # set forward_format="[%a: %s]"## Name: forward_format# Type: string# Default: "[%a: %s]"# # # This variable controls the default subject when forwarding a message.# It uses the same format sequences as the ``$index_format'' variable.# # # set forward_quote=no## Name: forward_quote# Type: boolean# Default: no# # # When set forwarded messages included in the main body of the# message (when ``$mime_forward'' is unset) will be quoted using# ``$indent_string''.# # # set from=""## Name: from# Type: e-mail address# Default: ""# # # When set, this variable contains a default from address. It# can be overridden using my_hdr (including from send-hooks) and# ``$reverse_name''. This variable is ignored if ``$use_from''# is unset.# # Defaults to the contents of the environment variable EMAIL.# # # set gecos_mask="^[^,]*"## Name: gecos_mask# Type: regular expression# Default: "^[^,]*"# # # A regular expression used by mutt to parse the GECOS field of a password# entry when expanding the alias. By default the regular expression is set# to "^[^,]*" which will return the string up to the first "," encountered.# If the GECOS field contains a string like "lastname, firstname" then you# should set the gecos_mask=".*".# # This can be useful if you see the following behavior: you address a e-mail# to user ID stevef whose full name is Steve Franklin. If mutt expands # stevef to "Franklin" stevef@foo.bar then you should set the gecos_mask to# a regular expression that will match the whole name so mutt will expand# "Franklin" to "Franklin, Steve".# # # set hdrs=yes## Name: hdrs# Type: boolean# Default: yes# # # When unset, the header fields normally added by the ``my_hdr''# command are not created. This variable must be unset before# composing a new message or replying in order to take effect. If set,# the user defined header fields are added to every new message.# # # set header=no## Name: header# Type: boolean# Default: no# # # When set, this variable causes Mutt to include the header# of the message you are replying to into the edit buffer.# The ``$weed'' setting applies.# # # set help=yes## Name: help# Type: boolean# Default: yes# # # When set, help lines describing the bindings for the major functions# provided by each menu are displayed on the first line of the screen.# # Note: The binding will not be displayed correctly if the# function is bound to a sequence rather than a single keystroke. Also,# the help line may not be updated if a binding is changed while Mutt is# running. Since this variable is primarily aimed at new users, neither# of these should present a major problem.# # # set hidden_host=no## Name: hidden_host# Type: boolean# Default: no# # # When set, mutt will skip the host name part of ``$hostname'' variable# when adding the domain part to addresses. This variable does not# affect the generation of Message-IDs, and it will not lead to the # cut-off of first-level domains.# # # set hide_limited=no## Name: hide_limited# Type: boolean# Default: no# #
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -