📄 sample.muttrc-tlr
字号:
# -*-muttrc-*-## Mutt configuration file of Thomas Roessler <roessler@guug.de>.## Use and distribute freely.## Note: This file doesn't contain any personal customization, i.e.,# using it won't make you send messages with my name in the header.## Things to change: You probably want to change the "priv.rc" source# command in the end of this file. Also, it's likely you want to have # a look at the the $editor and $tmpdir variables.### MIME settings#auto_view application/ms-tnef text/x-vcardauto_view application/x-chess application/x-lotus-notesauto_view text/html application/x-gzip application/x-gunzip auto_view application/rtf application/x-rathauto_view application/mswordalternative_order application/pgp text/plain text/html text/enriched## Key bindings### A few of these may resemble Pine. ups.#bind alias " " tag-entrybind alias \n select-entrybind alias \r select-entrybind attach i exitbind attach n next-entrybind attach p previous-entrybind attach " " select-entrybind attach y print-entrybind browser <end> last-entrybind browser <home> first-entrybind editor "\e<backspace>" kill-wordbind editor "\e<delete>" kill-wordbind editor "\e\t" complete-querybind editor "\Ct" transpose-charsbind generic "\CV" next-pagebind generic "\Ca" first-entrybind generic "\Ce" last-entrybind generic "\eV" previous-pagebind generic "\ev" previous-pagebind generic + tag-entrybind generic ^ first-entrybind generic a tag-prefixbind generic $ last-entrybind generic q exitbind index ";" limitbind index "\Ce" last-entry # override edit-typebind index "\eV" previous-page # override collapse-somethingbind index "\e<" collapse-threadbind index "\eq" querybind index $ last-entrybind index * flag-messagebind index <delete> delete-messagebind index <end> last-entrybind index <home> first-entrybind index J next-entrybind index K previous-entrybind index Q quitbind index R group-replybind index \em recall-messagebind index a tag-prefixbind index m mailbind index p previous-entrybind index t create-aliasbind index x sync-mailboxbind index y print-messagebind index n next-entrybind index "\ev" previous-pagebind pager "\Cn" next-linebind pager "\Cp" previous-linebind pager + tag-messagebind pager <delete> delete-messagebind pager <down> next-linebind pager <end> bottombind pager <home> topbind pager <up> previous-linebind pager G group-replybind pager R group-replybind pager \em recall-messagebind pager t display-toggle-weed # like slrnbind pager y print-messagebind query i exit# make it feel like emacsmacro generic "\ex" ":exec "macro pager "\ex" ":exec "macro generic "\eX" "\ex"macro pager "\eX" "\ex"macro index "~" ";~"# move messages to the pilot foldermacro index "\ew" "<decode-copy>+pilot\n" "Copy a message to the pilot folder."macro pager "\ew" "<decode-copy>+pilot\n" "Copy a message to the pilot folder."# for majordomo list owner and moderator jobsmacro index "\ea" ":set nopipe_decode wait_key\n|approve\n:set nowait_key\n"macro pager "\ea" ":set nopipe_decode wait_key\n|approve\n:set nowait_key\n"# emulate the old URL-browser key bindings.macro pager "\Cb" "| urlview -\n"macro index "\Cb" "| urlview -\n"# permit limiting from the pager.macro pager ";" "<exit><limit>"# emulate the old POP-feature bindingsmacro index G "!fetchmail\n" macro pager G "!fetchmail\n"macro compose "\ee" "Fpgp -eatf " ## Colors## This is a tiny hack, so I can get different# color schemes on the console and under X11.source ~/.mutt/colors.`if [ "$TERM" = "linux" ] ; then echo linux ; else echo default ; fi`mono index bold ~F# mono body bold '\*[^*]+\*'# mono body underline '_[^_]+_'## The header weed list#ignore delivered-toignore content- errors-to in-reply-to mime-versionignore lines precedence statusignore nntp-posting-host path old-return-path received referencesignore priority >received >>receivedignore resent- return-path xref pathignore x400 importance sensitivity autoforward original-encoded-informationignore x- thread-ignore list- comments posted-to approved-byunignore x-spam x-url x-mailerhdr_order from to cc date subject reply-to mail-followup-to## Various settings#set abort_nosubject=no # Let me send messages with an empty subjectset abort_unmodified=no # Let me send empty messagesset alias_file=~/.mutt/aliases # Where to store aliasesunset allow_8bit # Produce correct MIMEunset arrow_cursor # Use the bar cursorset askcc # Ask me about CCsunset bounce_delivered # Don't include Delivered-to with bouncesset charset=iso-8859-1 # The local character setset confirmcreate # Ask me about creating new filesunset confirmappend # Don't ask me about appending to filesset delete=yes # Don't ask me whether or not I meant to delete messagesset display_filter="tr '\240\204\223\226' ' \"\"-'" # fix some funny charactersset edit_hdrs # I want to edit the headers.set editor="/usr/bin/jed %s -f 'flower_mode();'" # Invoke jed with mail_mode. This may # or may not work for you.set envelope_from # set messages' envelope-from header.set fcc_clear # Store local copies of messages in the clear.set folder=~/Mail # Where my mail folders goset followup_to # Create Mail-Followup-To headers.unset force_name # Don't create save folders which don't exist.set forward_decode # Decode messages when forwarding.set forward_decrypt # Decrypt messages when forwarding.set nohelp # No help line.set include=yes # Always include a copy when replying.set mark_old # Distinguish between seen (but unread) and new messagesset mbox=+mbox # The (unused) mbox file.unset metoo # Remove me from CC headers.set mime_fwd=ask-no # Ask me whether or not to create a MIME-encapsulated forwardset move=no # Don't use mboxset pager_stop # Don't fall through to the next message in the pagerset pager_index_lines=0 # The pager index is ugly.set pgp_replyencrypt # Encrypt when replying to encrypted messages.set pgp_replysignencrypted # Sign when replying to encrypted messages.set pgp_show_unusable="no" # Don't display unusable keys.set pgp_sort_keys="keyid" # Sort keys by key IDset pgp_replysign # Sign when replying to signed messages.set pgp_timeout=3600 # Forget the PGP passphrase after an hour.set pipe_decode # Decode messages I pipe to commands, typically to patch(1).set postponed=~/.mutt/postponed # Where to put postponed messagesset print=ask-no # Don't waste paperset print_cmd="enscript -Email -2 -r -G" # Two columns, landscape, fancy header.set print_split=yes # Invoke enscript once per messageset quit=yes # Don't ask me whether or not I want to quit.set quote_regexp="^ *[a-zA-Z]*[>|][>:|]*" # Recognize quotes in the pager.set read_inc=50 # Progress indicator when reading folders.set recall=ask-no # When I say "compose", ask me whether I want to continue # composing a postponed message.set record="+archive/now" # Put copies of most outgoing messages to ~/Mail/archive/nowset reply_to=ask-yes # Ask me whether I want to honor users' reply-to headers.set reverse_alias # Use aliases to display real names on the index.set save_name # Save copies by name. Together with $record and $save_name, # this means that when a folder exists, copies of outgoing # messages are written to ~/Mail/<name>, otherwise they go to # ~/Mail/archive/nowset signature=~/.signature # Silly signatureset sig_dashes # Add dashes above my signatureset smart_wrap # Try to be smart when wrapping around lines in the pagerset sort=threads # sort by threads,set sort_aux=date # then by dateunset strict_threads # don't be strict about threads# set suspend=no # Don't suspend - I usually run mutt like this: "xterm -e mutt"set tilde # Indicate empty lines in the pager.set tmpdir=~/.tmp # Temporary files aren't stored in public places.set to_chars=" +TCF " # Don't tag list mail in the indexunset use_domain # Don't append a domain to addresses.set write_inc=50 # Progress indicator when writing folders.set query_command="lbdbq %s" # Use the Little Brother's Database with the external # query feature.set sendmail_wait=-1 # Put sendmail (i.e., postfix) to the background.set encode_from # "From " in the beginning of a line triggers quoted-printableset nowait_key # Return immediately from external programsset forw_format="[fwd] %s (from: %a)" # A different subject for forwarded messagesset nobeep # Shut up. ;-)set reply_regexp="^((re([\\[0-9\\]+])*|aw):[ \t]*)+[ \t]*" # A regular expression to detect repliesset header # Include the message header when replying.set ignore_list_reply_to # Ignore Reply-To headers pointing to mailing lists.set index_format="%4C %Z %{%b %d} %-15.15L (%4c) %s" # Somewhat different index format, which works # nicely with maildir folders.set rfc2047_parameters # Sometimes, I get mails which use a bogus encoding for # MIME parameters. Setting this shouldn't harm.set text_flowed # Generate text/plain; format=flowedunset use_ipv6 # Don't try to use IPv6 - it doesn't work here.set keep_flagged # don't move flagged messages to mboxset status_format="-%r-+(%v) %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?]----%>-(%P)---"set compose_format="--+(%v) Compose [Approx. msg size: %l Atts: %a]%>-"set pager_format="-%Z- %C/%m: %.20n %> %s"set smileys="^$"# PGP command configuration# source ~/.mutt/pgp2.rcsource ~/.mutt/gpg.rc# source non-public stuff, (hooks, alternates, ...)source ~/.mutt/priv.rc# source aliasessource ~/.mutt/aliases
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -