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