84 lines
2.5 KiB
Text
84 lines
2.5 KiB
Text
set mbox_type = Maildir
|
|
|
|
set spoolfile = "+Sanchayan/INBOX"
|
|
|
|
source ~/.mutt/accounts/sanchayan
|
|
|
|
folder-hook Sanchayan/* source ~/.mutt/accounts/sanchayan
|
|
folder-hook Victor/* source ~/.mutt/accounts/victor
|
|
folder-hook Toradex/* source ~/.mutt/accounts/toradex
|
|
|
|
set mail_check = 0
|
|
set envelope_from
|
|
|
|
unset move # gmail does that
|
|
set delete # don't ask, just do
|
|
unset confirmappend # don't ask, just do!
|
|
set quit # don't ask, just do!!
|
|
unset mark_old # read/new is good enough for me
|
|
|
|
# sort/threading
|
|
set sort = threads
|
|
set sort_aux = reverse-last-date-received
|
|
set sort_re
|
|
|
|
# look and feel
|
|
set pager_index_lines = 8
|
|
set pager_context = 5
|
|
set pager_stop
|
|
set menu_scroll
|
|
set smart_wrap
|
|
set tilde
|
|
unset markers
|
|
|
|
# composing
|
|
set fcc_attach
|
|
unset mime_forward
|
|
set forward_format = "Fwd: %s"
|
|
set include
|
|
set forward_quote
|
|
|
|
ignore * # first, ignore all headers
|
|
unignore from: to: cc: date: subject: # then, show only these
|
|
hdr_order from: to: cc: date: subject: # and in this order
|
|
|
|
source "~/.mutt/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc"
|
|
macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
|
|
|
|
set send_charset="us-ascii:utf-8"
|
|
set send_charset="utf-8"
|
|
|
|
set editor="nano"
|
|
|
|
set date_format="%y-%m-%d %T"
|
|
set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
|
|
|
|
folder-hook *[sS]ent* 'set index_format="%2C | %Z [%d] %-30.30t (%-4.4c) %s"'
|
|
folder-hook ! *[sS]ent* 'set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"'
|
|
|
|
set sleep_time = 0
|
|
|
|
set mailcap_path = ~/.mutt/mailcap
|
|
auto_view text/html
|
|
alternative_order text/plain text/html
|
|
|
|
## Abook
|
|
set query_command= "abook --mutt-query '%s'"
|
|
macro index,pager A "<pipe-message>abook --add-email-quiet<return>"
|
|
|
|
## Add this sender to Abook
|
|
bind editor <Tab> complete-query
|
|
|
|
set edit_headers = yes
|
|
|
|
# 'L' performs a notmuch query, showing only the results
|
|
macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern"
|
|
|
|
# 'a' shows all messages again (supersedes default <alias> binding)
|
|
macro index a "<limit>all\n" "show all messages (undo limit)"
|
|
|
|
set header_cache=~/Mail/mutt_cache/ # a much faster opening of mailboxes...
|
|
|
|
macro index D "<save-message>+/ACCOUNT/[Gmail].Trash<enter>" "Move message to the trash"
|
|
|
|
source /etc/Muttrc.gpg.dist
|