📄 init.h
字号:
{ "forward_quote", DT_BOOL, R_NONE, OPTFORWQUOTE, 0 }, /* ** .pp ** When \fIset\fP forwarded messages included in the main body of the ** message (when ``$$mime_forward'' is \fIunset\fP) will be quoted using ** ``$$indent_string''. */ { "forw_quote", DT_SYN, R_NONE, UL "forward_quote", 0 }, /* */ { "from", DT_ADDR, R_NONE, UL &From, UL 0 }, /* ** .pp ** 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. ** .pp ** Defaults to the contents of the environment variable EMAIL. */ { "gecos_mask", DT_RX, R_NONE, UL &GecosMask, UL "^[^,]*" }, /* ** .pp ** 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=".*". ** .pp ** 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". */ { "hdr_format", DT_SYN, R_NONE, UL "index_format", 0 }, /* */ { "hdrs", DT_BOOL, R_NONE, OPTHDRS, 1 }, /* ** .pp ** When unset, the header fields normally added by the ``$my_hdr'' ** command are not created. This variable \fImust\fP 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. */ { "header", DT_BOOL, R_NONE, OPTHEADER, 0 }, /* ** .pp ** 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. */ { "help", DT_BOOL, R_BOTH, OPTHELP, 1 }, /* ** .pp ** When set, help lines describing the bindings for the major functions ** provided by each menu are displayed on the first line of the screen. ** .pp ** \fBNote:\fP 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. */ { "hidden_host", DT_BOOL, R_NONE, OPTHIDDENHOST, 0 }, /* ** .pp ** 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. */ { "hide_limited", DT_BOOL, R_TREE|R_INDEX, OPTHIDELIMITED, 0 }, /* ** .pp ** When set, mutt will not show the presence of messages that are hidden ** by limiting, in the thread tree. */ { "hide_missing", DT_BOOL, R_TREE|R_INDEX, OPTHIDEMISSING, 1 }, /* ** .pp ** When set, mutt will not show the presence of missing messages in the ** thread tree. */ { "hide_thread_subject", DT_BOOL, R_TREE|R_INDEX, OPTHIDETHREADSUBJECT, 1 }, /* ** .pp ** When set, mutt will not show the subject of messages in the thread ** tree that have the same subject as their parent or closest previously ** displayed sibling. */ { "hide_top_limited", DT_BOOL, R_TREE|R_INDEX, OPTHIDETOPLIMITED, 0 }, /* ** .pp ** When set, mutt will not show the presence of messages that are hidden ** by limiting, at the top of threads in the thread tree. Note that when ** $$hide_limited is set, this option will have no effect. */ { "hide_top_missing", DT_BOOL, R_TREE|R_INDEX, OPTHIDETOPMISSING, 1 }, /* ** .pp ** When set, mutt will not show the presence of missing messages at the ** top of threads in the thread tree. Note that when $$hide_missing is ** set, this option will have no effect. */ { "history", DT_NUM, R_NONE, UL &HistSize, 10 }, /* ** .pp ** This variable controls the size (in number of strings remembered) of ** the string history buffer. The buffer is cleared each time the ** variable is set. */ { "honor_followup_to", DT_QUAD, R_NONE, OPT_MFUPTO, M_YES }, /* ** .pp ** This variable controls whether or not a Mail-Followup-To header is ** honored when group-replying to a message. */ { "hostname", DT_STR, R_NONE, UL &Fqdn, 0 }, /* ** .pp ** Specifies the hostname to use after the ``@'' in local e-mail ** addresses. This overrides the compile time definition obtained from ** /etc/resolv.conf. */ { "ignore_list_reply_to", DT_BOOL, R_NONE, OPTIGNORELISTREPLYTO, 0 }, /* ** .pp ** Affects the behaviour of the \fIreply\fP function when replying to ** messages from mailing lists. When set, if the ``Reply-To:'' field is ** set to the same value as the ``To:'' field, Mutt assumes that the ** ``Reply-To:'' field was set by the mailing list to automate responses ** to the list, and will ignore this field. To direct a response to the ** mailing list when this option is set, use the \fIlist-reply\fP ** function; \fIgroup-reply\fP will reply to both the sender and the ** list. */#ifdef USE_IMAP { "imap_authenticators", DT_STR, R_NONE, UL &ImapAuthenticators, UL 0 }, /* ** .pp ** This is a colon-delimited list of authentication methods mutt may ** attempt to use to log in to an IMAP server, in the order mutt should ** try them. Authentication methods are either 'login' or the right ** side of an IMAP 'AUTH=xxx' capability string, eg 'digest-md5', 'gssapi' ** or 'cram-md5'. This parameter is case-insensitive. If this ** parameter is \fIunset\fP (the default) mutt will try all available methods, ** in order from most-secure to least-secure. ** .pp ** Example: set imap_authenticators="gssapi:cram-md5:login" ** .pp ** \fBNote:\fP Mutt will only fall back to other authentication methods if ** the previous methods are unavailable. If a method is available but ** authentication fails, mutt will not connect to the IMAP server. */ { "imap_check_subscribed", DT_BOOL, R_NONE, OPTIMAPCHECKSUBSCRIBED, 0 }, /* ** .pp ** When \fIset\fP, mutt will fetch the set of subscribed folders from ** your server on connection, and add them to the set of mailboxes ** it polls for new mail. See also the ``$mailboxes'' command. */ { "imap_delim_chars", DT_STR, R_NONE, UL &ImapDelimChars, UL "/." }, /* ** .pp ** This contains the list of characters which you would like to treat ** as folder separators for displaying IMAP paths. In particular it ** helps in using the '=' shortcut for your \fIfolder\fP variable. */ { "imap_headers", DT_STR, R_INDEX, UL &ImapHeaders, UL 0}, /* ** .pp ** Mutt requests these header fields in addition to the default headers ** ("DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE ** CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES X-LABEL") from IMAP ** servers before displaying the index menu. You may want to add more ** headers for spam detection. \fBNote:\fP This is a space separated list. */ { "imap_home_namespace", DT_STR, R_NONE, UL &ImapHomeNamespace, UL 0}, /* ** .pp ** You normally want to see your personal folders alongside ** your INBOX in the IMAP browser. If you see something else, you may set ** this variable to the IMAP path to your folders. */ { "imap_idle", DT_BOOL, R_NONE, OPTIMAPIDLE, 0 }, /* ** .pp ** When \fIset\fP, mutt will attempt to use the IMAP IDLE extension ** to check for new mail in the current mailbox. Some servers ** (dovecot was the inspiration for this option) react badly ** to mutt's implementation. If your connection seems to freeze ** up periodically, try unsetting this. */ { "imap_keepalive", DT_NUM, R_NONE, UL &ImapKeepalive, 900 }, /* ** .pp ** This variable specifies the maximum amount of time in seconds that mutt ** will wait before polling open IMAP connections, to prevent the server ** from closing them before mutt has finished with them. The default is ** well within the RFC-specified minimum amount of time (30 minutes) before ** a server is allowed to do this, but in practice the RFC does get ** violated every now and then. Reduce this number if you find yourself ** getting disconnected from your IMAP server due to inactivity. */ { "imap_list_subscribed", DT_BOOL, R_NONE, OPTIMAPLSUB, 0 }, /* ** .pp ** This variable configures whether IMAP folder browsing will look for ** only subscribed folders or all folders. This can be toggled in the ** IMAP browser with the \fItoggle-subscribed\fP function. */ { "imap_login", DT_STR, R_NONE, UL &ImapLogin, UL 0 }, /* ** .pp ** Your login name on the IMAP server. ** .pp ** This variable defaults to the value of \fIimap_user\fP. */ { "imap_pass", DT_STR, R_NONE, UL &ImapPass, UL 0 }, /* ** .pp ** Specifies the password for your IMAP account. If \fIunset\fP, Mutt will ** prompt you for your password when you invoke the fetch-mail function. ** \fBWarning\fP: you should only use this option when you are on a ** fairly secure machine, because the superuser can read your muttrc even ** if you are the only one who can read the file. */ { "imap_passive", DT_BOOL, R_NONE, OPTIMAPPASSIVE, 1 }, /* ** .pp ** When \fIset\fP, mutt will not open new IMAP connections to check for new ** mail. Mutt will only check for new mail over existing IMAP ** connections. This is useful if you don't want to be prompted to ** user/password pairs on mutt invocation, or if opening the connection ** is slow. */ { "imap_peek", DT_BOOL, R_NONE, OPTIMAPPEEK, 1 }, /* ** .pp ** When \fIset\fP, mutt will avoid implicitly marking your mail as read whenever ** you fetch a message from the server. This is generally a good thing, ** but can make closing an IMAP folder somewhat slower. This option ** exists to appease speed freaks. */ { "imap_servernoise", DT_BOOL, R_NONE, OPTIMAPSERVERNOISE, 1 }, /* ** .pp ** When \fIset\fP, mutt will display warning messages from the IMAP ** server as error messages. Since these messages are often ** harmless, or generated due to configuration problems on the ** server which are out of the users' hands, you may wish to suppress ** them at some point. */ { "imap_user", DT_STR, R_NONE, UL &ImapUser, UL 0 }, /* ** .pp ** The name of the user whose mail you intend to access on the IMAP ** server. ** .pp ** This variable defaults to your user name on the local machine. */#endif { "implicit_autoview", DT_BOOL,R_NONE, OPTIMPLICITAUTOVIEW, 0}, /* ** .pp ** If set to ``yes'', mutt will look for a mailcap entry with the ** copiousoutput flag set for \fIevery\fP MIME attachment it doesn't have ** an internal viewer defined for. If such an entry is found, mutt will ** use the viewer defined in that entry to convert the body part to text ** form. */ { "include", DT_QUAD, R_NONE, OPT_INCLUDE, M_ASKYES }, /* ** .pp ** Controls whether or not a copy of the message(s) you are replying to ** is included in your reply. */ { "include_onlyfirst", DT_BOOL, R_NONE, OPTINCLUDEONLYFIRST, 0}, /* ** .pp ** Controls whether or not Mutt includes only the first attachment ** of the message you are replying. */ { "indent_string", DT_STR, R_NONE, UL &Prefix, UL "> " }, /* ** .pp ** Specifies the string to prepend to each line of text quoted in a ** message to which you are replying. You are strongly encouraged not to ** change this value, as it tends to agitate the more fanatical netizens. */ { "indent_str", DT_SYN, R_NONE, UL "indent_string", 0 }, /* */ { "index_format", DT_STR, R_BOTH, UL &HdrFmt, UL "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" }, /* ** .pp ** This variable allows you to customize the message index display to ** your personal taste. ** .pp ** ``Format strings'' are similar to the strings used in the ``C'' ** function printf to format output (see the man page for more detail). ** The following sequences are defined in Mutt: ** .pp ** .dl ** .dt %a .dd address of the author ** .dt %A .dd reply-to address (if present; otherwise: address of author) ** .dt %b .dd filename of the original message folder (think mailBox) ** .dt %B .dd the list to which the letter was sent, or else the folder name (%b). ** .dt %c .dd number of characters (bytes) in the message ** .dt %C .dd current message number ** .dt %d .dd date and time of the message in the format specified by ** ``date_format'' converted to sender's time zone ** .dt %D .dd date and time of the message in the format specified by ** ``date_format'' converted to the local time zone ** .dt %e .dd current message number in thread ** .dt %E .dd number of messages in current thread ** .dt %f .dd entire From: line (address + real name) ** .dt %F .dd author name, or recipient name if the message is from you ** .dt %H .dd spam attribute(s) of this message ** .dt %i .dd message-id of the current message ** .dt %l .dd number of lines in the message (does not work with maildir, ** mh, and possibly IMAP folders) ** .dt %L .dd If an address in the To or CC header field matches an address ** defined by the users ``subscribe'' command, this displays ** "To <list-name>", otherwise the same as %F. ** .dt %m .dd total number of message in the mailbox ** .dt %M .dd number of hidden messages if the thread is collapsed. ** .dt %N .dd message score ** .dt %n .dd author's real name (or address if missing) ** .dt %O .dd (_O_riginal save folder) Where mutt would formerly have ** stashed the message: list name or recipient name if no list ** .dt %s .dd subject of the message
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -