diff options
Diffstat (limited to '.config/mutt')
| -rw-r--r-- | .config/mutt/mailcap | 4 | ||||
| -rw-r--r-- | .config/mutt/muttrc | 171 |
2 files changed, 175 insertions, 0 deletions
diff --git a/.config/mutt/mailcap b/.config/mutt/mailcap new file mode 100644 index 0000000..21cd88b --- /dev/null +++ b/.config/mutt/mailcap | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | text/plain; $EDITOR ; | ||
| 2 | text/html; w3m %s ; | ||
| 3 | image/*; feh %s; | ||
| 4 | application/pdf; zathura %s; | ||
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 @@ | |||
| 1 | ### General Variables | ||
| 2 | set editor = "vim -i NONE" | ||
| 3 | set signature = "~/.config/mutt/signature" | ||
| 4 | #set index_format = "%2C %Z - %D - %a - %s (%-4.4c)" | ||
| 5 | folder-hook . 'set index_format = "%2C %Z - %D - %a - %s (%-4.4c)"' | ||
| 6 | folder-hook Sent 'set index_format = "%2C %Z - %D - %F - %s (%-4.4c)"' | ||
| 7 | set date_format = "%m/%d/%y %I:%M %p" | ||
| 8 | set mailcap_path = "~/.config/mutt/mailcap" | ||
| 9 | set query_command = "abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook --mutt-query '%s'" | ||
| 10 | set sort = "reverse-date" | ||
| 11 | set sleep_time = 0 | ||
| 12 | set markers = no | ||
| 13 | set mark_old = no | ||
| 14 | set wait_key = no | ||
| 15 | set fast_reply | ||
| 16 | set include | ||
| 17 | set reverse_name | ||
| 18 | set delete = yes | ||
| 19 | set confirmappend = no | ||
| 20 | set ssl_force_tls = yes | ||
| 21 | set ssl_starttls = no | ||
| 22 | set ssl_use_sslv3 = no | ||
| 23 | set ssl_use_tlsv1 = no | ||
| 24 | set ssl_use_tlsv1_1 = no | ||
| 25 | set ssl_use_tlsv1_2 = yes | ||
| 26 | set ssl_use_tlsv1_3 = yes | ||
| 27 | set ssl_verify_dates = yes | ||
| 28 | set ssl_verify_host = yes | ||
| 29 | |||
| 30 | ### Sidebar | ||
| 31 | set sidebar_visible | ||
| 32 | set mail_check_stats | ||
| 33 | set sidebar_format = "%B%* %?N?%N/?%?S?%S?" | ||
| 34 | set sidebar_short_path = yes | ||
| 35 | set sidebar_folder_indent = yes | ||
| 36 | set sidebar_indent_string = " " | ||
| 37 | bind index,pager V sidebar-toggle-visible | ||
| 38 | |||
| 39 | ### Keybindings | ||
| 40 | bind index u noop | ||
| 41 | bind index U noop | ||
| 42 | bind index g noop | ||
| 43 | bind index h noop | ||
| 44 | bind index,pager v noop | ||
| 45 | bind index,pager i noop | ||
| 46 | bind index,pager d noop | ||
| 47 | bind index,pager y noop | ||
| 48 | bind index,pager m noop | ||
| 49 | bind index,pager c noop | ||
| 50 | |||
| 51 | bind generic / search | ||
| 52 | bind generic n search-next | ||
| 53 | bind generic N search-opposite | ||
| 54 | bind generic H top-page | ||
| 55 | bind generic M middle-page | ||
| 56 | bind generic L bottom-page | ||
| 57 | bind generic ? help | ||
| 58 | bind generic <Enter> select-entry | ||
| 59 | bind generic <Return> select-entry | ||
| 60 | |||
| 61 | bind index gg first-entry | ||
| 62 | bind index G last-entry | ||
| 63 | bind index j next-entry | ||
| 64 | bind index k previous-entry | ||
| 65 | bind index \Cu previous-unread | ||
| 66 | bind index \Cd next-unread | ||
| 67 | bind index l display-message | ||
| 68 | bind index L limit | ||
| 69 | bind index Q query | ||
| 70 | bind index a create-alias | ||
| 71 | bind index <Space> tag-entry | ||
| 72 | bind index n mail | ||
| 73 | |||
| 74 | bind pager h exit | ||
| 75 | bind pager j next-line | ||
| 76 | bind pager k previous-line | ||
| 77 | bind pager l view-attachments | ||
| 78 | bind pager { previous-page | ||
| 79 | bind pager } next-page | ||
| 80 | bind pager f display-toggle-weed | ||
| 81 | bind pager \Cu half-up | ||
| 82 | bind pager \Cd half-down | ||
| 83 | |||
| 84 | bind index,pager r reply | ||
| 85 | bind index,pager R group-reply | ||
| 86 | bind index,pager s sort-mailbox | ||
| 87 | bind index,pager S sort-reverse | ||
| 88 | |||
| 89 | bind editor <Tab> complete-query | ||
| 90 | |||
| 91 | bind attach * noop | ||
| 92 | bind attach h exit | ||
| 93 | |||
| 94 | ### Macros | ||
| 95 | macro index,pager D ";<delete-message><sync-mailbox><check-stats>" "send to trash (delete)" | ||
| 96 | macro index P ";<purge-message><sync-mailbox><check-stats>" "permanently delete message" | ||
| 97 | macro index U ";<undelete-message><sync-mailbox><check-stats>" "undelete message" | ||
| 98 | macro index,pager mi ";<save-message>=Inbox<enter><sync-mailbox><check-stats>" "move to inbox" | ||
| 99 | macro index,pager ms ";<save-message>=Sent<enter><sync-mailbox><check-stats>" "move to sent" | ||
| 100 | macro index,pager mj ";<save-message>=Spam<enter><sync-mailbox><check-stats>" "move to spam" | ||
| 101 | |||
| 102 | macro index,pager yi ";<copy-message>=Inbox<enter><sync-mailbox><check-stats>" "copy to inbox" | ||
| 103 | macro index,pager ys ";<copy-message>=Sent<enter><sync-mailbox><check-stats>" "copy to sent" | ||
| 104 | macro index,pager yj ";<copy-message>=Spam<enter><sync-mailbox><check-stats>" "copy to spam" | ||
| 105 | |||
| 106 | macro index,pager ci ";<change-folder>=Inbox<enter>" "cd to inbox" | ||
| 107 | macro index,pager cs ";<change-folder>=Sent<enter>" "cd to sent" | ||
| 108 | macro index,pager cd ";<change-folder>=Drafts<enter>" "cd to drafts" | ||
| 109 | macro index,pager ct ";<change-folder>=Trash<enter>" "cd to trash" | ||
| 110 | macro index,pager cj ";<change-folder>=Spam<enter>" "cd to spam" | ||
| 111 | macro index,pager ca ";<change-folder>=Archive<enter>" "cd to archive" | ||
| 112 | |||
| 113 | macro index,pager J "<sidebar-next><sidebar-open>" "next mailbox" | ||
| 114 | macro index,pager K "<sidebar-prev><sidebar-open>" "previous mailbox" | ||
| 115 | |||
| 116 | macro index,pager A "|abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook --add-email\n" "add address to abook" | ||
| 117 | |||
| 118 | ### Headers | ||
| 119 | ignore * | ||
| 120 | unignore from date subject to cc | ||
| 121 | unignore Authentication-Results | ||
| 122 | unhdr_order * | ||
| 123 | hdr_order Authentication-Results: From: To: Subject: Date: | ||
| 124 | |||
| 125 | ### Colors | ||
| 126 | mono bold bold | ||
| 127 | mono underline underline | ||
| 128 | mono indicator reverse | ||
| 129 | mono error bold | ||
| 130 | ### Index | ||
| 131 | color index white default "~A" | ||
| 132 | color index_number blue default | ||
| 133 | color index_author blue default "~A" | ||
| 134 | color index_subject blue default "~A" | ||
| 135 | # New | ||
| 136 | color index brightyellow default "~N" | ||
| 137 | color index_author underline brightblue default "~N" | ||
| 138 | color index_subject underline brightblue default "~N" | ||
| 139 | # Tagged | ||
| 140 | color index brightwhite blue "~T" | ||
| 141 | color index_author brightwhite blue "~T" | ||
| 142 | color index_subject brightwhite blue "~T" | ||
| 143 | ### Header | ||
| 144 | color hdrdefault blue default | ||
| 145 | color header brightred default "^From:" | ||
| 146 | color header brightred default "^Subject:" | ||
| 147 | # highlight authentication headers based on pass/fail/none | ||
| 148 | color header green default "dkim=pass" | ||
| 149 | color header green default "spf=pass" | ||
| 150 | color header green default "dmarc=pass" | ||
| 151 | color header yellow default "dkim=none" | ||
| 152 | color header yellow default "spf=none" | ||
| 153 | color header yellow default "dmarc=none" | ||
| 154 | color header brightred default "dkim=fail" | ||
| 155 | color header brightred default "spf=fail" | ||
| 156 | color header brightred default "dmarc=fail" | ||
| 157 | ### Body | ||
| 158 | color body default default ".*" | ||
| 159 | ### Sidebar | ||
| 160 | |||
| 161 | ### Other | ||
| 162 | color normal default default | ||
| 163 | color tilde default default | ||
| 164 | color status default black | ||
| 165 | color signature default default | ||
| 166 | color attachment default default | ||
| 167 | color message default default | ||
| 168 | color quoted green default | ||
| 169 | color search brightred default | ||
| 170 | |||
| 171 | source ~/.config/mutt/accounts/testing | ||
