92 lines
3.1 KiB
Text
92 lines
3.1 KiB
Text
#source ~/MAIL/.muttrc
|
|
# character set on messages that we send
|
|
set send_charset="utf-8"
|
|
# if there is no character set given on incoming messages, it is probably windows
|
|
set assumed_charset="iso-8859-1"
|
|
|
|
# make sure Vim knows mutt is a mail client and that we compose an UTF-8 encoded message
|
|
set editor="vim -c 'set syntax=mail ft=mail enc=utf-8'"
|
|
|
|
# just scroll one line instead of full page
|
|
set menu_scroll=yes
|
|
|
|
# we want to see some MIME types inline, see below this code listing for explanation
|
|
auto_view application/msword
|
|
auto_view application/pdf
|
|
auto_view application/vnd.openxml*
|
|
auto_view text/html
|
|
|
|
set implicit_autoview=yes
|
|
set menu_scroll=yes
|
|
|
|
# make default search pattern to search in To, Cc and Subject
|
|
set simple_search="~f %s | ~C %s | ~s %s"
|
|
|
|
# threading preferences, sort by threads
|
|
set sort=threads
|
|
set strict_threads=yes
|
|
|
|
# show spam score (from SpamAssassin only) when reading a message
|
|
spam "X-Spam-Score: ([0-9\\.]+).*" "SA: %1"
|
|
set pager_format = " %C - %[%H:%M] %.20v, %s%* %?H? [%H] ?"
|
|
|
|
# do not show all headers, just a few
|
|
ignore *
|
|
unignore From To Cc Bcc Date Subject
|
|
# and in this order
|
|
unhdr_order *
|
|
hdr_order From: To: Cc: Bcc: Date: Subject:
|
|
|
|
# brighten up stuff with colours, for more colouring examples see:
|
|
# http://aperiodic.net/phil/configs/mutt/colors
|
|
color normal white default
|
|
color hdrdefault brightyellow default
|
|
color quoted brightyellow default
|
|
color quoted1 yellow default
|
|
color quoted2 white default
|
|
color signature cyan default
|
|
color indicator white blue
|
|
color error brightred default
|
|
color status brightwhite default
|
|
color tree brightmagenta default
|
|
color tilde blue default
|
|
color attachment brightyellow default
|
|
color markers brightred default
|
|
color message white default
|
|
color search brightwhite magenta
|
|
color bold brightyellow default
|
|
# if you don't like the black progress bar at the bottom of the screen,
|
|
# comment out the following line
|
|
#color progress white black
|
|
|
|
macro index,pager \cb "<pipe-message> python3 ~/.local/bin/urlscan<Enter>" "call urlscan to extract URLs out of a message"
|
|
set timeout=30
|
|
|
|
set index_format="%Z %{%Y %b %e %H:%M} %?X?(%X)& ? %-22.22F %.100s %> %5c "
|
|
|
|
bind pager "j" next-line
|
|
bind pager "k" previous-line
|
|
bind pager "G" bottom
|
|
bind pager "gg" top
|
|
bind index "G" last-entry
|
|
bind index "gg" first-entry
|
|
bind index "S" sidebar-toggle-visible
|
|
bind pager "S" sidebar-toggle-visible
|
|
bind index "J" sidebar-next
|
|
bind pager "J" sidebar-next
|
|
bind index "K" sidebar-prev
|
|
bind pager "K" sidebar-prev
|
|
bind index "L" sidebar-open
|
|
bind pager "L" sidebar-open
|
|
|
|
set crypt_use_gpgme=yes
|
|
|
|
#set query_command="mutt_vc_query '%s'"
|
|
set query_command="lbdbq %s"
|
|
|
|
set tmpdir="~/MAIL/mutttmp/"
|
|
set message_cachedir="~/MAIL/muttmcache/"
|
|
set header_cache="~/MAIL/mutthcache/"
|
|
source ~/MAIL/muttrc.mailboxes
|
|
source ~/MAIL/muttrc.aliases
|
|
alias cinggs \"Inggs, Cornelia, Dr [cinggs@sun.ac.za]\" <cinggs@sun.ac.za>
|