diff options
| author | Yigit Sever | 2021-04-04 22:27:59 +0300 |
|---|---|---|
| committer | Yigit Sever | 2021-04-04 22:27:59 +0300 |
| commit | 501784f695648ff7d1ea6cc73664129b1017884a (patch) | |
| tree | c32ad1ffe1d54ea7e0913d4bfa9080a00548f1cb /.config/mutt/muttrc | |
| parent | cddfbe80894fa9de57924b373d7cfa09686d4b62 (diff) | |
| download | dotfiles-501784f695648ff7d1ea6cc73664129b1017884a.tar.gz dotfiles-501784f695648ff7d1ea6cc73664129b1017884a.tar.bz2 dotfiles-501784f695648ff7d1ea6cc73664129b1017884a.zip | |
mutt: clever colouring rules
Diffstat (limited to '.config/mutt/muttrc')
| -rw-r--r-- | .config/mutt/muttrc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index 5d71def..bd8c656 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc | |||
| @@ -9,7 +9,10 @@ macro index,pager i5 '<sync-mailbox><enter-command>source /home/yigit/.config/mu | |||
| 9 | 9 | ||
| 10 | bind generic z noop | 10 | bind generic z noop |
| 11 | bind generic Z noop | 11 | bind generic Z noop |
| 12 | |||
| 13 | # character set for outgoing messages | ||
| 12 | set send_charset="utf-8" | 14 | set send_charset="utf-8" |
| 15 | # if the incoming mail haven't set anything it's probably something dumb. | ||
| 13 | set assumed_charset="cp1252" | 16 | set assumed_charset="cp1252" |
| 14 | 17 | ||
| 15 | set sort=threads | 18 | set sort=threads |
| @@ -115,7 +118,28 @@ set signature = "echo '~yigit\n'|" | |||
| 115 | # https://lwn.net/SubscriberLink/837960/f3bcafeaed37425d/ | 118 | # https://lwn.net/SubscriberLink/837960/f3bcafeaed37425d/ |
| 116 | # score '~f pangin' +10 | 119 | # score '~f pangin' +10 |
| 117 | # score '~s ceng351' +20 | 120 | # score '~s ceng351' +20 |
| 121 | # score "~s EDAS" 20 | ||
| 118 | # color index color208 color234 "~n 10" | 122 | # color index color208 color234 "~n 10" |
| 119 | # color index black red "~n 20" | 123 | # color index black red "~n 20" |
| 120 | 124 | ||
| 125 | ############################ | ||
| 126 | # custom body highlights # | ||
| 127 | ############################ | ||
| 128 | # highlight my name and other personally relevant strings | ||
| 129 | color body color172 default "((Y|y)igit)? (Sever)?" | ||
| 130 | |||
| 131 | ############################ | ||
| 132 | # cusom index highlights # | ||
| 133 | ############################ | ||
| 134 | # messages which mention my name in the body | ||
| 135 | color index_flags color172 color128 "~b \"(Y|y)igit\" | ||
| 136 | |||
| 137 | ############################################# | ||
| 138 | # deep learning-based junk mail detection # | ||
| 139 | ############################################# | ||
| 140 | color index_subject color239 default "EDAS" | ||
| 141 | color index_author color239 default "EDAS" | ||
| 142 | color index_subject color239 default "~f @igi-global.com" | ||
| 143 | color index_author color239 default "~f @igi-global.com" | ||
| 144 | |||
| 121 | set sidebar_format = "%D%?F? [%F]?%* %?N?%N/? %?S?%S?" | 145 | set sidebar_format = "%D%?F? [%F]?%* %?N?%N/? %?S?%S?" |
