diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2018-04-11 20:51:34 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2018-12-30 12:27:23 -0600 |
commit | daed42a7371b5f26d69826e52560804e23d48fb6 (patch) | |
tree | ff4a00720a65962033694b8d79eb445345180fd6 /mutt | |
parent | 10da5377351ae0bbfe75343b95d6a81ee2e217aa (diff) |
mutt: add configuration
Diffstat (limited to 'mutt')
-rw-r--r-- | mutt/.mailcap | 1 | ||||
-rw-r--r-- | mutt/.mutt/.gitignore | 4 | ||||
-rw-r--r-- | mutt/.mutt/colors | 44 | ||||
-rw-r--r-- | mutt/.mutt/headers | 26 | ||||
-rw-r--r-- | mutt/.mutt/keys | 3 | ||||
-rw-r--r-- | mutt/.mutt/sidebar | 13 | ||||
-rw-r--r-- | mutt/.muttrc | 35 |
7 files changed, 126 insertions, 0 deletions
diff --git a/mutt/.mailcap b/mutt/.mailcap new file mode 100644 index 0000000..8603537 --- /dev/null +++ b/mutt/.mailcap @@ -0,0 +1 @@ +text/html; w3m -I %{charset} -T text/html; copiousoutput; diff --git a/mutt/.mutt/.gitignore b/mutt/.mutt/.gitignore new file mode 100644 index 0000000..50a1876 --- /dev/null +++ b/mutt/.mutt/.gitignore @@ -0,0 +1,4 @@ +accounts +aliases +cache +certificates diff --git a/mutt/.mutt/colors b/mutt/.mutt/colors new file mode 100644 index 0000000..1f95712 --- /dev/null +++ b/mutt/.mutt/colors @@ -0,0 +1,44 @@ +# -*- muttrc -*- + +# general ui +color error brightred black +color status black blue +color search brightwhite magenta +color indicator black green +color markers brightwhite yellow + +# messages in the index +color tree red black +color index black red ~F # flagged +color index brightwhite black ~U # unread +color index brightgreen black ~N # new +color index brightmagenta black ~T # tagged +color index brightblack black ~D # deleted + +# boring text +color message white black +color normal white black + +# various forms of emphasis +color bold brightyellow black +color underline brightyellow black + +# quoted text +color quoted brightgreen brightblack +color quoted1 brightblue brightblack +color quoted2 brightcyan brightblack +color quoted3 brightmagenta brightblack + +color attachment yellow black +color signature brightgreen black + +# highlight URLs in messages +color body brightblue black "(http|https|ftp|news|telnet|finger)://[^ \">\t\r\n]*" +color body brightblue black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +color body brightblue black "news:[^ \">\t\r\n]*" +# email addresses +color body brightblue black "[-a-z_0-9.%$+=]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" + +# colorize diffs +auto_view text/x-diff +auto_view text/x-patch diff --git a/mutt/.mutt/headers b/mutt/.mutt/headers new file mode 100644 index 0000000..f9223cf --- /dev/null +++ b/mutt/.mutt/headers @@ -0,0 +1,26 @@ +# -*- muttrc -*- + +# whitelist the headers I want to see normally +ignore * +unignore from date subject to cc +unignore x-mailer user-agent x-operating-system +unignore x-bogosity +unignore list-id list-post +# see who is being a dick +unignore disposition-notification-to disposition-notification-options + +# add back all custom headers +unignore x-* + +# put important headers in a consistent order +hdr_order Date From To Cc List-ID List-Post Subject User-Agent X-Operating-System X-Bogosity + +# colorize certain headers +color hdrdefault white brightblack +color header brightwhite brightblack "^(Date|Return-Path):" +color header brightcyan brightblack "^(From|To|Cc):" +color header brightgreen brightblack "^(Subject):" +color header brightmagenta brightblack "^List-.*:" +color header brightred brightblack "^X-Bogosity:" +color header brightwhite brightblack "^(User-Agent|X-Operating-System)" +color header brightyellow brightblack "^Disposition-Notification" diff --git a/mutt/.mutt/keys b/mutt/.mutt/keys new file mode 100644 index 0000000..c24fdda --- /dev/null +++ b/mutt/.mutt/keys @@ -0,0 +1,3 @@ +# -*- muttrc -*- + +bind index G imap-fetch-mail diff --git a/mutt/.mutt/sidebar b/mutt/.mutt/sidebar new file mode 100644 index 0000000..d3b9f86 --- /dev/null +++ b/mutt/.mutt/sidebar @@ -0,0 +1,13 @@ +# -*- muttrc -*- + +set sidebar_width=32 +set sidebar_visible=yes +set sidebar_sort_method=alpha + +bind index CP sidebar-prev +bind index CN sidebar-next +bind index CO sidebar-open + +bind pager CP sidebar-prev +bind pager CN sidebar-next +bind pager CO sidebar-open diff --git a/mutt/.muttrc b/mutt/.muttrc new file mode 100644 index 0000000..8599f52 --- /dev/null +++ b/mutt/.muttrc @@ -0,0 +1,35 @@ +set alias_file = ~/.mutt/aliases + +source ~/.mutt/accounts +source ~/.mutt/aliases +source ~/.mutt/colors +source ~/.mutt/headers +source ~/.mutt/keys +source ~/.mutt/sidebar + +# Character sets +set send_charset = "utf-8" +set assumed_charset = "utf-8" + +# Make sure vim knows mutt is a mail client and that we compose utf8 +set editor = "vim -c 'set syntax=mail ft=mail enc=utf-8'" + +# Local caching +set header_cache = ~/.mutt/cache/headers +set message_cachedir = ~/.mutt/cache/bodies +set certificate_file = ~/.mutt/certificates + +# Sorting +set sort = threads +set sort_aux = last-date-received + +# Stop page down from moving to the next message when we reach the end +set pager_stop = yes + +# Display a mini index while reading messages +set pager_index_lines = 11 + +# Prefer reading plain text, but handle HTML if it comes to it +auto_view text/html # view html automatically +alternative_order text/plain text/enriched text/html # save html for last + |