summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2016-07-26 18:04:44 +0200
committerDavid Kaufmann <astra@ionic.at>2016-07-26 18:04:44 +0200
commit8869dfb1fc88db0579c2897ab9e4ebdbd8af3485 (patch)
tree98a01228e4a59f0335b2bca3d512fbd6f84907e6
parent0aeed6f73a22bc1c789367ab8faff3be021ea8aa (diff)
downloadconfig-8869dfb1fc88db0579c2897ab9e4ebdbd8af3485.tar.gz
update mutt config
-rw-r--r--skel/.muttrc31
1 files changed, 21 insertions, 10 deletions
diff --git a/skel/.muttrc b/skel/.muttrc
index f364f8f..d85ec34 100644
--- a/skel/.muttrc
+++ b/skel/.muttrc
@@ -63,7 +63,7 @@ set imap_check_subscribed # Automatically poll subscribed mailboxes for new mail
set include # always include messages when replying
#set indent_string="> " # how to quote replied text
#set locale="C" # locale to use for printing time
-#set mailcap_path="~/.mailcap:/usr/local/share/mailcap"
+set mailcap_path="~/.mailcap"
set mail_check=10 # how often to poll for new mail
#set mbox=+mbox # where to store read messages
set menu_scroll # no implicit next-page/prev-page
@@ -78,7 +78,6 @@ set pager_context=1 # no. of lines of context to give when scrolling
set pager_index_lines=6 # how many index lines to show in the pager
set pager_stop # don't move to the next message on next-page
#set pgp_strict_enc # use Q-P encoding when needed for PGP
-set postponed=+.Drafts # mailbox to store postponed messages in
#set post_indent_string='---end quoted text---'
#set print=ask-yes # ask me if I really want to print messages
set print_command=/bin/false # how to print things (I like to save trees)
@@ -105,7 +104,7 @@ set sort=threads # primary sorting method
#set sort_aux=reverse-date-received # how to sort subthreads
#set sort_aux=reverse-date # date of the last message in thread
-set sort_aux=date-received
+set sort_aux=last-date-received
#set sort_browser=reverse-date # how to sort files in the dir browser
#set sort_browser=alpha # Sort mailboxes by alpha(bet)
set sort_browser=unsorted # Do not sort mailboxes
@@ -197,8 +196,8 @@ bind generic \177 last-entry
macro index \cb "<pipe-message> urlview<Enter>" # simulate the old browse-url function
-macro index S "<save-message>+spam<Enter>"
-macro pager S "<save-message>+spam<Enter>"
+macro index S "<save-message>+Junk<Enter>"
+macro pager S "<save-message>+Junk<Enter>"
#macro index \# "<search>bug<Enter>" # search for bugs
#macro index "\"" "<enter-command> set realname=\"real hairy macro\" ?realname<Enter>" # and a comment to boot!
@@ -208,11 +207,10 @@ bind pager G bottom # just like vi and less
#macro pager \Ck "<pipe-message> pgp -kaf<Enter>" # a comment is valid here
#macro pager X "<pipe-message> morepgp<Enter>" # pipe PGP message to a script
-macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
-macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
+macro index,pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
-macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
-macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
+macro index,pager C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
+macro index,pager M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
#macro index C "<copy-message>?" "copy a message to a mailbox"
#macro index M "<save-message>?" "move a message to a mailbox"
@@ -290,7 +288,7 @@ my_hdr X-Clacks-Overhead: GNU Terry Pratchett
#
unhdr_order * # forget the previous settings
-hdr_order date from subject to cc
+hdr_order date from to cc subject
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
@@ -309,6 +307,19 @@ hdr_order date from subject to cc
auto_view application/x-gunzip
auto_view application/x-gzip
+# show interesting stuff by default
+# you should install antiword! :-)
+#auto_view text/enriched
+#auto_view application/pgp-signature
+#auto_view application/msword
+#auto_view application/x-troff-man
+#auto_view text/x-vcard
+auto_view text/html
+
+# but this will render all html, we only want to autoview it when we don't have
+# text/plain:
+alternative_order text/enriched text/plain text
+
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Scoring