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
#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"
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"
"@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$"
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
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
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
-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
-# 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
# 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:
+#