From daed42a7371b5f26d69826e52560804e23d48fb6 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Wed, 11 Apr 2018 20:51:34 -0500 Subject: mutt: add configuration --- mutt/.mutt/.gitignore | 4 ++++ mutt/.mutt/colors | 44 ++++++++++++++++++++++++++++++++++++++++++++ mutt/.mutt/headers | 26 ++++++++++++++++++++++++++ mutt/.mutt/keys | 3 +++ mutt/.mutt/sidebar | 13 +++++++++++++ 5 files changed, 90 insertions(+) create mode 100644 mutt/.mutt/.gitignore create mode 100644 mutt/.mutt/colors create mode 100644 mutt/.mutt/headers create mode 100644 mutt/.mutt/keys create mode 100644 mutt/.mutt/sidebar (limited to 'mutt/.mutt') 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 -- cgit v1.2.3