diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-18 00:47:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-18 00:47:54 +1200 |
commit | 07a0ec768b866b2ccb1ac422715345494a0e438a (patch) | |
tree | 975441f209343f489a5cd66571dc235bdee8ea84 | |
parent | Swap j/k and J/K in Mutt (diff) | |
download | dotfiles-07a0ec768b866b2ccb1ac422715345494a0e438a.tar.gz dotfiles-07a0ec768b866b2ccb1ac422715345494a0e438a.zip |
Use :set/:unset commands in Mutt more tersely
-rw-r--r-- | mutt/muttrc | 58 | ||||
-rwxr-xr-x | mutt/muttrc.d/src | 2 |
2 files changed, 30 insertions, 30 deletions
diff --git a/mutt/muttrc b/mutt/muttrc index 032de0cf..fc04886f 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -1,11 +1,11 @@ # Addresses set query_command = 'abook --mutt-query %s' -set reverse_name = yes -set use_domain = yes -set use_from = yes +set reverse_name +set use_domain +set use_from # Alerts -set beep_new = yes +set beep_new # Attachments attachments +A */.* @@ -36,24 +36,24 @@ bind editor ^T complete # Files set delete = ask-yes -set move = no +unset move # Flags -set mark_old = no +unset mark_old # Headers ignore * unignore Date: From: To: Cc: Bcc: Subject: hdr_order Date: From: To: Cc: Bcc: Subject: -set edit_headers = yes +set edit_headers # Index set index_format = '%4C %Z %{%b %d %Y} %-15.15L (%?l?%4l&%4c?) %?H?[%H] ?%s' # Interaction -set abort_unmodified = no -set confirmappend = no -set wait_key = no +unset abort_unmodified +unset confirmappend +unset wait_key set quit = ask-yes # Intervals @@ -61,7 +61,7 @@ set mail_check = 5 set sleep_time = 0 # Mailboxes -set confirmcreate = yes +set confirmcreate # Menus set menu_context = 1 @@ -72,13 +72,13 @@ mime_lookup application/octet-stream # Pager set pager_context = 1 set pager_format = '%4C %Z %[!%b %e at %I:%M %p] %.20n %s%* -- (%P)' -set pager_stop = yes +set pager_stop # Presentation/formatting -set markers = no -set smart_wrap = yes -set text_flowed = yes -set tilde = yes +unset markers +set smart_wrap +set text_flowed +set tilde alternative_order text/plain text/html * auto_view text/html @@ -86,31 +86,31 @@ auto_view text/html set quote_regexp = '^(>[ \t]*)+' # Responses -set fast_reply = yes -set forward_attachments = yes +set fast_reply +set forward_attachments set forward_format = 'Fw: %s' -set include = yes -set use_envelope_from = yes +set include +set use_envelope_from # Searching/sorting set sort = 'threads' set sort_aux = 'last-date-received' -set strict_threads = yes -set thorough_search = yes +set strict_threads +set thorough_search # SSH set time_inc = 250 # Encryption settings -set crypt_replysign = yes -set crypt_replyencrypt = yes -set crypt_replysignencrypted = yes -set crypt_use_gpgme = yes -set crypt_use_pka = yes -set crypt_verify_sig = yes +set crypt_replysign +set crypt_replyencrypt +set crypt_replysignencrypted +set crypt_use_gpgme +set crypt_use_pka +set crypt_verify_sig # Do decode classic PGP messages, though we'll never write them -set pgp_auto_decode = yes +set pgp_auto_decode # Vim-ish bindings bind index gg first-entry diff --git a/mutt/muttrc.d/src b/mutt/muttrc.d/src index f03ad462..47cb2df1 100755 --- a/mutt/muttrc.d/src +++ b/mutt/muttrc.d/src @@ -22,5 +22,5 @@ done # because at the moment I haven't worked out how to make this work sanely with # messages-are-flowing in message-mode. case $VISUAL in - emacs|emacsclient) printf 'set edit_headers = no\n' ;; + emacs|emacsclient) printf 'unset edit_headers\n' ;; esac |