]> git.wh0rd.org - home.git/commitdiff
mutt: update settings
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Jan 2015 23:13:39 +0000 (18:13 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Jan 2015 23:13:39 +0000 (18:13 -0500)
.config/mutt/bindings.rc
.config/mutt/formatting.rc
.config/mutt/gpg.rc
.config/mutt/lists.rc
.config/mutt/mail.rc
.config/mutt/main.rc
.config/mutt/sidebar.rc
.config/mutt/theme.rc
.config/mutt/theme.screen.rc [deleted file]
.config/mutt/theme/256color.rc

index a5a8cdbfbad43d29dee9cdc4a727f61a4b6adbec..b8fc2db8080c12e3e62d74d2ef7924511fff44f6 100644 (file)
@@ -8,7 +8,8 @@ bind index <left> previous-line
 bind index <right> next-line
 bind index <return> display-message
 bind index <space> collapse-thread
-macro index G '<shell-escape>getmail -q -g ~/.config/getmail -r gmail.rc'
+bind index <tab> next-unread
+macro index G '<shell-escape>~/.config/getmail/gmail'
 
 bind pager <up> previous-line
 bind pager <down> next-line
index 0d93baa2a68b60c01ec8d0717f7cf63512b6703a..6a38ba023dcd9f0fef0857fe86ffaf6540aa4dcf 100644 (file)
@@ -42,7 +42,7 @@ set date_format = "%d %b %Y %H:%M"
 #set folder_format="%F %d %8s %N %f" # file browser menu
 
 # http://www.mutt.org/doc/devel/manual.html#index-format
-set index_format = "%5C %Z %?M?»& ?%s %*  %B  %-20.20n  %D"
+set index_format = "%4C %Z %?M?»& ?%s %*  %B  %-20.20n  %D"
 
 #set pager_format="-%Z- %C/%m [%[%H:%M]] %-17.17n   %s"
 
index f93e3d04a87af6b3df9ad01dfb85fac3ea36b10d..0b0ef16a7f1ed95224b1be96c76bdfc2530ef4d8 100644 (file)
@@ -14,7 +14,7 @@ set pgp_use_gpg_agent = yes
 set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f"
 
 # verify a pgp/mime signature
-set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f"
+set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f 2>&1 | grep -E -v '^gpg:.+(aka|Signature made)'"
 
 # decrypt a pgp/mime attachment
 set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f"
index b90ce785b6acdcf085d0dd0e47182ce9e4bfaf06..edec69b7cc1d9c8f28fe6e74b28fe0e43d16acf5 100644 (file)
@@ -8,7 +8,10 @@ subscribe -group oss       \
        "@lists\.[a-z0-9.]+\.org$" \
        "^zlib-devel@madler\.net$" \
        "^dropbear@ucc\.asn\.au$" \
-       "^gmp-bugs@gmplib\.org$" \
-       "^file@mx\.gw\.com$"
-subscribe -group gnu       "(^bug-.*|-(devel|patches))@(non)?gnu\.org$" "@debbugs\.gnu\.org$" "^(auto(conf|make)|coreutils|libtool)@gnu\.org$"
+       "^gmp-(bugs|discuss)@gmplib\.org$" \
+       "^file@mx\.gw\.com$" \
+       "^LINUX-390@VM\.MARIST\.EDU$" \
+       "^procps@freelists.org$" \
+       "@lists\.denx\.de$"
+subscribe -group gnu       "(^bug-.*|-(dev(el)?|patches))@(non)?gnu\.org$" "@debbugs\.gnu\.org$" "^(auto(conf|make)|coreutils|libtool)@gnu\.org$"
 subscribe -group spec      "-l@opengroup\.org$"
index 904c427639138a15148268cd55379fb57403eb51..52e18ac3eef75d4a2fbf35ba41e84dc92f1157b2 100644 (file)
@@ -10,6 +10,6 @@ set message_cachedir = ~/.cache/mutt/message
 
 mailboxes `find ~/.mail/ \
        -regextype posix-extended -type d \
-       '(' -regex '.*/(cur|new|tmp)$' -o -regex '.*/\.mail/(outbox|templates|trash|\.inbox\.directory)$' -prune ')' \
-       -name cur -printf '"%h" ' | sort`
+       '(' -regex '.*/(cur|new|tmp)$' -o -regex '.*/\.mail/(drafts|outbox|templates|\.inbox\.directory)$' -prune ')' \
+       -name cur -printf '"%h" ' 2>/dev/null | sort`
 unmailboxes ~/.mail
index a8aae54c155c5a6ecf638a55b82264a45769843f..3c60070bd280622c58eeb9a480c2b460cdf6d5bb 100644 (file)
@@ -14,7 +14,7 @@ set sleep_time = 0
 set time_inc = 500
 set user_agent = no
 
-folder-hook . 'push <collapse-all>'
+folder-hook . 'push <collapse-all>; push <last-entry>'
 set collapse_flagged = no
 set collapse_unread = no
 set sort = threads
@@ -32,9 +32,9 @@ set fast_reply = yes
 set include = yes
 
 ignore *
-unignore from date subject to cc x-mailing-list list-id
+unignore from date subject to cc x-mailing-list list-id message-id
 unhdr_order *
-hdr_order subject from to cc date list-id x-mailing-list
+hdr_order subject from to cc date list-id x-mailing-list message-id
 
 source ~/.config/mutt/bindings.rc
 source ~/.config/mutt/formatting.rc
index 051acb8e1c589a3c58ddf23c08930a9650cc565e..a3a03a0a35e18fd974e2e74de34c5c90a5db3c55 100644 (file)
@@ -1,8 +1,11 @@
-set sidebar_width = 50
-set sidebar_visible = no
-set sidebar_delim = '|'
+set sidebar_delim = '│'
+set sidebar_folderindent = yes
+set sidebar_format = '%B %* %N' # %F %S'
+set sidebar_indentstr = ' '
+set sidebar_shortpath = yes
 set sidebar_sort = yes
-#set sidebar_format = '%B %N'
+set sidebar_visible = yes
+set sidebar_width = 30
 
 color sidebar_new brightred default
 
index b0b580494347044913c9f085f1a90084171e0bdc..8698ea2fae9e3c508c6aeab740e6a9b46ebddb4f 100644 (file)
@@ -1,81 +1,95 @@
-# Status flags
-# D  message is deleted (is marked for deletion)
-# d  message have attachments marked for deletion
-# K  contains a PGP public key
-# N  message is new
-# O  message is old
-# P  message is PGP encrypted
-# r  message has been replied to
-# S  message is PGP signed, and the signature is succesfully verified
-# s  message is PGP signed
-# F  message is flagged (!)
-# *  message is tagged
+# Default color settings:
+# http://www.mutt.org/doc/devel/manual.html#color
+# Only basic colors here.
 
-# Colors for the message index
-color index brightred black ~N
-color index brightred black ~O
-color index brightyellow black ~F
-color index black cyan ~T
-color index cyan black ~D
+#
+# Index status flags:
+# http://www.mutt.org/doc/devel/manual.html#patterns
+#
 
+color index brightred          default ~U              # unread (covers ~F ~O)
+color index brightyellow       default ~F              # flagged
+color index brightcyan         default ~T              # tagged
+color index cyan                       default ~D              # deleted
+
+#
+# Various objects
+#
+
+color indicator black white
+color tree brightblue default
+
+#
+# Default color definitions
+#
+
+color hdrdefault green default
+color signature magenta default
+color attachment magenta default
+color error brightblack red
+
+#color message white black
+#color search brightwhite magenta
+#color status brightyellow blue
+#color normal white black
+#color tilde green black
+#color bold brightyellow black
+#color underline magenta black
+#color markers brightcyan black
+
+#
 # Highlights inside the body of a message.
+#
 
 # URLs
-color body brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
-color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
-mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
-mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
+#color body brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
+#color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
+#mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
+#mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
 
 # email addresses
-color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
+#color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
 #mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
 
-# header
-color header green black "^from:"
-color header green black "^to:"
-color header green black "^cc:"
-color header green black "^date:"
-color header yellow black "^newsgroups:"
-color header yellow black "^reply-to:"
-color header brightcyan black "^subject:"
-color header red black "^x-spam-rule:"
-color header green black "^x-mailer:"
-color header yellow black "^message-id:"
-color header yellow black "^Organization:"
-color header yellow black "^Organisation:"
-color header yellow black "^User-Agent:"
-color header yellow black "^message-id: .*pine"
-color header yellow black "^X-Message-Flag:"
-color header yellow black "^X-Spam-Status:"
-color header yellow black "^X-SpamProbe:"
-color header red black "^X-SpamProbe: SPAM"
+#
+# Headers
+#
 
+#color header green black "^from:"
+#color header green black "^to:"
+#color header green black "^cc:"
+#color header green black "^date:"
+#color header yellow black "^newsgroups:"
+#color header yellow black "^reply-to:"
+color header brightgreen default "^subject:"
+#color header red black "^x-spam-rule:"
+#color header green black "^x-mailer:"
+#color header yellow black "^message-id:"
+#color header yellow black "^Organization:"
+#color header yellow black "^Organisation:"
+#color header yellow black "^User-Agent:"
+#color header yellow black "^message-id: .*pine"
+#color header yellow black "^X-Message-Flag:"
+#color header yellow black "^X-Spam-Status:"
+#color header yellow black "^X-SpamProbe:"
+#color header red black "^X-SpamProbe: SPAM"
+
+#
 # Coloring quoted text - coloring the first 7 levels:
-color quoted cyan black
-color quoted1 yellow black
-color quoted2 red black
-color quoted3 green black
-color quoted4 cyan black
-color quoted5 yellow black
-color quoted6 red black
-color quoted7 green black
+#
+color quoted cyan default
+color quoted1 yellow default
+color quoted2 red default
+color quoted3 green default
+color quoted4 cyan default
+color quoted5 yellow default
+color quoted6 red default
+color quoted7 green default
 
-# Default color definitions
-#color hdrdefault white green
-color signature brightmagenta black
-color indicator black white
-color attachment black green
-color error red black
-color message white black
-color search brightwhite magenta
-color status brightyellow blue
-color tree brightblue black
-color normal white black
-color tilde green black
-color bold brightyellow black
-#color underline magenta black
-color markers brightcyan black
+#
 # Colour definitions when on a mono screen
+#
+
 mono bold bold
 mono underline underline
 mono indicator reverse
diff --git a/.config/mutt/theme.screen.rc b/.config/mutt/theme.screen.rc
deleted file mode 100644 (file)
index e69de29..0000000
index 4ddd0f937ac17acf02958039b27490b6fa528afd..aaf751cd145ddaf7d8f3ffb9c4eaf517937f275c 100644 (file)
@@ -1,73 +1,74 @@
 # For colorN syntax use the ~scripts/term-colortest to find colors
-color normal     color250       color232 # normal text
-color indicator  color232       color215 # color bar over currently selected message
-color tree       color63        color232 # thread arrows
-color status     brightcolor245 color236 # status line
-color message    color245       color232 # info messages
-color error      color231       color196 # errors
-color signature  color240       color232 # signature
-color attachment color61        color232 # MIME attachments
-color search     brightcolor226 color196 # search matches
-color tilde      color63        color232 # ~ at bottom of messages
-color markers    color37        color232 # + at beginning of wrapped lines
-color hdrdefault color240       color232 # default header lines
-color bold       brightcolor235 color232 # hilighting bold patterns in body
-color underline  brightcolor240 color232 # hilighting underlined patterns in body
-
+#color normal     color250       color232 # normal text
+#color indicator  color232       color215 # color bar over currently selected message
+#color tree       color63        color232 # thread arrows
+#color status     brightcolor245 color236 # status line
+#color message    color245       color232 # info messages
+#color error      color231       color196 # errors
+#color signature  color240       color232 # signature
+#color attachment color61        color232 # MIME attachments
+#color search     brightcolor226 color196 # search matches
+#color tilde      color63        color232 # ~ at bottom of messages
+#color markers    color37        color232 # + at beginning of wrapped lines
+#color hdrdefault color240       color232 # default header lines
+#color bold       brightcolor235 color232 # hilighting bold patterns in body
+#color underline  brightcolor240 color232 # hilighting underlined patterns in body
+#
 # Quote colors
-color quoted     color130       color232
-color quoted1    color25        color232
-color quoted2    color171       color232
-color quoted3    color38        color232
-color quoted4    color100       color232
-color quoted5    color53        color232
-color quoted6    color29        color232
-color quoted7    color127       color232
-color quoted8    color59        color232
-color quoted9    color167       color232
-
+#color quoted     color130       color232
+#color quoted1    color25        color232
+#color quoted2    color171       color232
+#color quoted3    color38        color232
+#color quoted4    color100       color232
+#color quoted5    color53        color232
+#color quoted6    color29        color232
+#color quoted7    color127       color232
+#color quoted8    color59        color232
+#color quoted9    color167       color232
+#
 # Color for the attribution-line
-color body       color130       color232 "^[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color25        color232 "^>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color171       color232 "^>[ ]?>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color38        color232 "^(>[ ]?){2}>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color100       color232 "^(>[ ]?){3}>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color89        color232 "^(>[ ]?){4}>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color29        color232 "^(>[ ]?){5}>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color127       color232 "^(>[ ]?){6}>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color59        color232 "^(>[ ]?){7}>[^>].*(wrote|writes|said|say(s)?).*:"
-color body       color167       color232 "^(>[ ]?){8}>[^>].*(wrote|writes|said|say(s)?).*:"
-
+#color body       color130       color232 "^[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color25        color232 "^>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color171       color232 "^>[ ]?>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color38        color232 "^(>[ ]?){2}>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color100       color232 "^(>[ ]?){3}>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color89        color232 "^(>[ ]?){4}>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color29        color232 "^(>[ ]?){5}>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color127       color232 "^(>[ ]?){6}>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color59        color232 "^(>[ ]?){7}>[^>].*(wrote|writes|said|say(s)?).*:"
+#color body       color167       color232 "^(>[ ]?){8}>[^>].*(wrote|writes|said|say(s)?).*:"
+#
 # Source index for links
-color body       color229       color232 "\[[1-9][0-9]*\]"
-
+#color body       color229       color232 "\[[1-9][0-9]*\]"
+#
 # Index
-color index      color245       color232 ~Q # mail that has been replied to
-color index      color245       color232 ~R # read mail
-color index      brightcolor250 color232 "~N | ~U" # New or unread
-color index      brightcolor49  color232  ~T # Tagged
-color index      brightcolor196 color232  ~D # Deleted
-color index      brightcolor34  color232  ~F # Flagged
-color index      color202       color232 "~z >500K" # Highlight large messages
+#color index      color245       default ~Q # mail that has been replied to
+#color index      color245       default ~R # read mail
+#color index      brightcolor250 default "~N | ~U" # New or unread
+#color index      brightcolor49  default  ~T # Tagged
+#color index      brightcolor196 default  ~D # Deleted
+#color index      brightcolor34  default  ~F # Flagged
+#color index      color202       default "~z >500K" # Highlight large messages
 #color index color232  green  ~(~F) # Thread of flagged message
 #color index brightcyan        default  ~p # mail addressed to me (as defined by alternates)
 #color index brightblue        default  ~P # mail from myself (as defined by alternates)
-
+#
 # Headers
-color header    color10 color232 "^(From|Subject|Cc|Date|To|Reply-to|X-Spam-Level|User-Agent|X-Mailer):"
+#color header    color10 color232 "^(From|Subject|Cc|Date|To|Reply-to|X-Spam-Level|User-Agent|X-Mailer):"
 #color header    red     default "^X-DSPAM"
-
+#
 # Body
-color body color12 color232 "(http|https|ftp|news|telnet|finger|irc)://[^ \">\t\r\n]*"
-color body color10 color232 "(mailto:)?[-a-z_0-9.]+@[-a-z_0-9.]+"
+#color body color12 color232 "(http|https|ftp|news|telnet|finger|irc)://[^ \">\t\r\n]*"
+#color body color10 color232 "(mailto:)?[-a-z_0-9.]+@[-a-z_0-9.]+"
 #color body red default "mailto:"
-
-color body     brightcolor226 color232 "[[:space:]][;:][-][)/|O>(<][[:space:][:cntrl:]]" # smilies
-color body     brightcolor226 color232 "^[;:][-][)O>(<][[:space:][:cntrl:]]" # smilies
+#
+#color body    brightcolor226 color232 "[[:space:]][;:][-][)/|O>(<][[:space:][:cntrl:]]" # smilies
+#color body    brightcolor226 color232 "^[;:][-][)O>(<][[:space:][:cntrl:]]" # smilies
 #color body default default "^:.*" # mutt strangely colors these red by default
-
+#
 # Colors for t-prot
-color body  color240 color232  "^\\[---.*"
-color body  color22    color232   "^#v[-+]"
-
+#color body  color240 color232 "^\\[---.*"
+#color body  color22   color232   "^#v[-+]"
+#
 # vim:ft=muttrc:fdm=marker:ts=4:sw=4:
+#