From b0a2c1c5800c30ecf37311885ce11f244102873e Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sat, 12 Feb 2022 17:54:06 -0500 Subject: Bunch of changes --- .config/mutt/muttrc | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 .config/mutt/muttrc (limited to '.config/mutt/muttrc') diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc new file mode 100644 index 0000000..c429fed --- /dev/null +++ b/.config/mutt/muttrc @@ -0,0 +1,171 @@ +### General Variables +set editor = "vim -i NONE" +set signature = "~/.config/mutt/signature" +#set index_format = "%2C %Z - %D - %a - %s (%-4.4c)" +folder-hook . 'set index_format = "%2C %Z - %D - %a - %s (%-4.4c)"' +folder-hook Sent 'set index_format = "%2C %Z - %D - %F - %s (%-4.4c)"' +set date_format = "%m/%d/%y %I:%M %p" +set mailcap_path = "~/.config/mutt/mailcap" +set query_command = "abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook --mutt-query '%s'" +set sort = "reverse-date" +set sleep_time = 0 +set markers = no +set mark_old = no +set wait_key = no +set fast_reply +set include +set reverse_name +set delete = yes +set confirmappend = no +set ssl_force_tls = yes +set ssl_starttls = no +set ssl_use_sslv3 = no +set ssl_use_tlsv1 = no +set ssl_use_tlsv1_1 = no +set ssl_use_tlsv1_2 = yes +set ssl_use_tlsv1_3 = yes +set ssl_verify_dates = yes +set ssl_verify_host = yes + +### Sidebar +set sidebar_visible +set mail_check_stats +set sidebar_format = "%B%* %?N?%N/?%?S?%S?" +set sidebar_short_path = yes +set sidebar_folder_indent = yes +set sidebar_indent_string = " " +bind index,pager V sidebar-toggle-visible + +### Keybindings +bind index u noop +bind index U noop +bind index g noop +bind index h noop +bind index,pager v noop +bind index,pager i noop +bind index,pager d noop +bind index,pager y noop +bind index,pager m noop +bind index,pager c noop + +bind generic / search +bind generic n search-next +bind generic N search-opposite +bind generic H top-page +bind generic M middle-page +bind generic L bottom-page +bind generic ? help +bind generic select-entry +bind generic select-entry + +bind index gg first-entry +bind index G last-entry +bind index j next-entry +bind index k previous-entry +bind index \Cu previous-unread +bind index \Cd next-unread +bind index l display-message +bind index L limit +bind index Q query +bind index a create-alias +bind index tag-entry +bind index n mail + +bind pager h exit +bind pager j next-line +bind pager k previous-line +bind pager l view-attachments +bind pager { previous-page +bind pager } next-page +bind pager f display-toggle-weed +bind pager \Cu half-up +bind pager \Cd half-down + +bind index,pager r reply +bind index,pager R group-reply +bind index,pager s sort-mailbox +bind index,pager S sort-reverse + +bind editor complete-query + +bind attach * noop +bind attach h exit + +### Macros +macro index,pager D ";" "send to trash (delete)" +macro index P ";" "permanently delete message" +macro index U ";" "undelete message" +macro index,pager mi ";=Inbox" "move to inbox" +macro index,pager ms ";=Sent" "move to sent" +macro index,pager mj ";=Spam" "move to spam" + +macro index,pager yi ";=Inbox" "copy to inbox" +macro index,pager ys ";=Sent" "copy to sent" +macro index,pager yj ";=Spam" "copy to spam" + +macro index,pager ci ";=Inbox" "cd to inbox" +macro index,pager cs ";=Sent" "cd to sent" +macro index,pager cd ";=Drafts" "cd to drafts" +macro index,pager ct ";=Trash" "cd to trash" +macro index,pager cj ";=Spam" "cd to spam" +macro index,pager ca ";=Archive" "cd to archive" + +macro index,pager J "" "next mailbox" +macro index,pager K "" "previous mailbox" + +macro index,pager A "|abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook --add-email\n" "add address to abook" + +### Headers +ignore * +unignore from date subject to cc +unignore Authentication-Results +unhdr_order * +hdr_order Authentication-Results: From: To: Subject: Date: + +### Colors +mono bold bold +mono underline underline +mono indicator reverse +mono error bold +### Index +color index white default "~A" +color index_number blue default +color index_author blue default "~A" +color index_subject blue default "~A" +# New +color index brightyellow default "~N" +color index_author underline brightblue default "~N" +color index_subject underline brightblue default "~N" +# Tagged +color index brightwhite blue "~T" +color index_author brightwhite blue "~T" +color index_subject brightwhite blue "~T" +### Header +color hdrdefault blue default +color header brightred default "^From:" +color header brightred default "^Subject:" +# highlight authentication headers based on pass/fail/none +color header green default "dkim=pass" +color header green default "spf=pass" +color header green default "dmarc=pass" +color header yellow default "dkim=none" +color header yellow default "spf=none" +color header yellow default "dmarc=none" +color header brightred default "dkim=fail" +color header brightred default "spf=fail" +color header brightred default "dmarc=fail" +### Body +color body default default ".*" +### Sidebar + +### Other +color normal default default +color tilde default default +color status default black +color signature default default +color attachment default default +color message default default +color quoted green default +color search brightred default + +source ~/.config/mutt/accounts/testing -- cgit v1.2.3