summaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2016-11-26 14:33:58 -0800
committerMike Crute <mike@crute.us>2016-11-26 14:33:58 -0800
commitfd20eec70f7430e0c2f597b822b7c64f4a2d6f47 (patch)
tree95dd2529192f316e9115f2bb25ec3a7cb73a6e10 /.mutt
parentede02a090be40cbdfed0344b75d81702e336d4fa (diff)
downloaddotfiles-fd20eec70f7430e0c2f597b822b7c64f4a2d6f47.tar.bz2
dotfiles-fd20eec70f7430e0c2f597b822b7c64f4a2d6f47.tar.xz
dotfiles-fd20eec70f7430e0c2f597b822b7c64f4a2d6f47.zip
Cleanup mutt preferences
Diffstat (limited to '.mutt')
-rw-r--r--.mutt/mailcap6
-rw-r--r--.mutt/muttrc52
2 files changed, 30 insertions, 28 deletions
diff --git a/.mutt/mailcap b/.mutt/mailcap
new file mode 100644
index 0000000..e28e63d
--- /dev/null
+++ b/.mutt/mailcap
@@ -0,0 +1,6 @@
1application/pdf; evince %s
2image/*; /usr/bin/feh %s
3application/msword; ~/bin/open-doc %s
4application/rtf; ~/bin/open-doc %s
5text/calendar; ~/bin/vcalendar-filter; copiousoutput
6text/html; elinks -dump %s; nametemplate=%s.html; copiousoutput
diff --git a/.mutt/muttrc b/.mutt/muttrc
index 81cd056..87877b8 100644
--- a/.mutt/muttrc
+++ b/.mutt/muttrc
@@ -1,26 +1,3 @@
1# Default settings from Fedora's /etc/Muttrc
2bind editor <delete> delete-char
3
4color hdrdefault red default
5color quoted brightblue default
6color signature red default
7color indicator brightyellow red
8color error brightred default
9color status yellow blue
10color tree magenta default # the thread tree in the index menu
11color tilde magenta default
12color message brightcyan default
13color markers brightcyan default
14color attachment brightmagenta default
15color search default green # how to hilite search patterns in the pager
16color header brightred default ^(From|Subject):
17color body magenta default "(ftp|http|https)://[^ ]+" # point out URLs
18color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses
19color underline brightgreen default
20mono quoted bold
21
22# ====================================================================
23
24set mbox_type = Maildir 1set mbox_type = Maildir
25set keep_flagged = yes 2set keep_flagged = yes
26set edit_headers = yes 3set edit_headers = yes
@@ -37,6 +14,7 @@ set index_format = "%4C %Z %{%b %d} %-35L (%?l?%4l&%4c?) %s"
37set header_cache = ~/.mutt/cache/headers 14set header_cache = ~/.mutt/cache/headers
38set message_cachedir = ~/.mutt/cache/bodies 15set message_cachedir = ~/.mutt/cache/bodies
39set certificate_file = ~/.mutt/certificates 16set certificate_file = ~/.mutt/certificates
17set mailcap_path = ~/.mutt/mailcap
40 18
41ignore * 19ignore *
42unhdr_order * 20unhdr_order *
@@ -44,13 +22,31 @@ unignore from to cc subject date user-agent x-editor x-mailer
44hdr_order user-agent x-mailer x-editor date to cc from subject 22hdr_order user-agent x-mailer x-editor date to cc from subject
45my_hdr X-Editor: `vim --version | head -n1 | sed 's/(.*//'` 23my_hdr X-Editor: `vim --version | head -n1 | sed 's/(.*//'`
46 24
47alternative_order text/plain text/html text/* 25alternative_order text/plain text/enriched text/html text/*
48auto_view text/html 26auto_view text/html
49auto_view text/calendar 27auto_view text/calendar
50 28
51bind index G imap-fetch-mail 29bind index G imap-fetch-mail
52bind index \# noop 30bind index \# noop
53bind index \& noop 31bind index \& noop
32bind editor <delete> delete-char
33
34# Default settings from Fedora's /etc/Muttrc
35color hdrdefault red default
36color quoted brightblue default
37color signature red default
38color indicator brightyellow red
39color error brightred default
40color status yellow blue
41color tree magenta default # the thread tree in the index menu
42color tilde magenta default
43color message brightcyan default
44color markers brightcyan default
45color attachment brightmagenta default
46color search default green # how to hilite search patterns in the pager
47color underline brightgreen default
48mono quoted bold
49# End cargo culted default colors
54 50
55color header brightyellow default "^(from|subject):" 51color header brightyellow default "^(from|subject):"
56 52
@@ -60,10 +56,6 @@ color body red default "(^| )\\*[-a-z0-9äöüß*]+\\*[,.?]?[ \n]"
60color body yellow default "[;:]-?[)/(|><]" # Smilies 56color body yellow default "[;:]-?[)/(|><]" # Smilies
61color body yellow default "[[:alpha:]]\+://[^ ]*" # Smilies 57color body yellow default "[[:alpha:]]\+://[^ ]*" # Smilies
62 58
63# Because Outlook users are fuckwads
64color body yellow default "^[A-Z][A-Za-z0-9-]+: "
65color body yellow blue "-----[[:space:]]*Original Message[[:space:]]*-----"
66
67color index yellow default "~N" # New 59color index yellow default "~N" # New
68color index cyan default "~l" # Mailing List 60color index cyan default "~l" # Mailing List
69color index yellow default "~l ~N" # New Mailing List 61color index yellow default "~l ~N" # New Mailing List
@@ -72,4 +64,8 @@ color index red default "~D" # Deleted
72color index black yellow "~T" # Tagged 64color index black yellow "~T" # Tagged
73color index black green "~F" # Flagged 65color index black green "~F" # Flagged
74 66
67# Because... Outlook
68color body yellow default "^[A-Z][A-Za-z0-9-]+: "
69color body yellow blue "-----[[:space:]]*Original Message[[:space:]]*-----"
70
75source ~/.mutt/active.account 71source ~/.mutt/active.account