2022-02-13 14:14:15 +01:00
|
|
|
# vim: syntax=muttrc
|
|
|
|
|
2016-03-07 17:31:28 +01:00
|
|
|
set mbox_type = Maildir
|
2021-02-11 09:46:19 +01:00
|
|
|
set folder = ~/Mail
|
2024-10-29 07:08:43 +01:00
|
|
|
set spoolfile = +/sanchayan-net/Inbox
|
|
|
|
set header_cache=~/Mail/.mutt_cache/
|
2016-03-07 17:31:28 +01:00
|
|
|
|
2022-12-15 17:02:33 +01:00
|
|
|
source ~/.mutt/gpgrc
|
2024-10-29 07:08:43 +01:00
|
|
|
source ~/.mutt/accounts/sanchayan-net
|
|
|
|
source ~/.mutt/accounts/sanchayan-com
|
2016-03-07 17:31:28 +01:00
|
|
|
source ~/.mutt/accounts/sanchayan
|
2020-07-23 16:50:48 +02:00
|
|
|
source ~/.mutt/accounts/asymptotic
|
2024-10-29 07:08:43 +01:00
|
|
|
source ~/.mutt/accounts/fastmail
|
2016-03-07 17:31:28 +01:00
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
folder-hook sanchayan-net/* source ~/.mutt/accounts/sanchayan-net
|
|
|
|
folder-hook sanchayan-com/* source ~/.mutt/accounts/sanchayan-com
|
|
|
|
folder-hook sanchayan/* source ~/.mutt/accounts/sanchayan
|
|
|
|
folder-hook asymptotic/* source ~/.mutt/accounts/asymptotic
|
|
|
|
folder-hook fastmail/* source ~/.mutt/accounts/fastmail
|
2016-03-07 17:31:28 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-02-11 09:46:19 +01:00
|
|
|
# composing
|
2016-03-07 17:31:28 +01:00
|
|
|
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
|
|
|
|
|
2019-12-31 13:02:54 +01:00
|
|
|
source ~/.mutt/gruvbox.muttrc
|
2016-03-07 17:31:28 +01:00
|
|
|
|
|
|
|
set send_charset="us-ascii:utf-8"
|
|
|
|
set send_charset="utf-8"
|
|
|
|
|
2019-12-31 09:48:38 +01:00
|
|
|
set editor="nvim"
|
2016-03-07 17:31:28 +01:00
|
|
|
|
|
|
|
set date_format="%y-%m-%d %T"
|
|
|
|
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
|
|
|
|
|
|
|
|
## 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)"
|
|
|
|
|
2022-02-13 13:27:28 +01:00
|
|
|
# Binding 'ca' will alias 'c
|
|
|
|
bind index c noop
|
|
|
|
|
2021-02-11 09:46:19 +01:00
|
|
|
macro index C '<change-folder>?<change-dir><home>^K=<enter>'
|
2024-10-29 07:08:43 +01:00
|
|
|
macro index cn '<enter-command>source ~/.mutt/muttrc/accounts/sanchayan-net<enter><change-folder>=sanchayan-net/Inbox/<enter>'
|
|
|
|
macro index cc '<enter-command>source ~/.mutt/muttrc/accounts/sanchayan-com<enter><change-folder>=sanchayan-com/Inbox/<enter>'
|
|
|
|
macro index cg '<enter-command>source ~/.mutt/muttrc/accounts/sanchayan<enter><change-folder>=sanchayan/Inbox/<enter>'
|
2021-02-11 09:46:19 +01:00
|
|
|
macro index ca '<enter-command>source ~/.mutt/muttrc/accounts/asymptotic<enter><change-folder>=asymptotic/Inbox/<enter>'
|
|
|
|
macro index cf '<enter-command>source ~/.mutt/muttrc/accounts/fastmail<enter><change-folder>=fastmail/Inbox/<enter>'
|
|
|
|
|
|
|
|
macro index ,so "l ^a^k^O\n" "show old messages only"
|
|
|
|
macro index ,sn "l ^a^k~N\n" "show unread/new only"
|
|
|
|
macro index ,sf "l ~F\n" "show flagged messages only"
|
|
|
|
macro index ,si "l (~n5-100|~N)\n" "show higher scoring messages"
|
|
|
|
macro index ,hl "l ^a^k!~l\n" "hide list messages"
|
|
|
|
macro index ,sa "l ^a^kall\n" "show all messages"
|
|
|
|
|
|
|
|
bind pager <up> previous-line
|
|
|
|
bind pager <down> next-line
|
2022-02-13 14:14:15 +01:00
|
|
|
|
|
|
|
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
|
|
|
|
set mail_check_stats
|
|
|
|
set sidebar_width = 40
|
|
|
|
set sidebar_short_path = no
|
|
|
|
|
|
|
|
bind index,pager B sidebar-toggle-visible
|
|
|
|
bind index,pager \Cp sidebar-prev
|
|
|
|
bind index,pager \Cn sidebar-next
|
|
|
|
bind index,pager \Co sidebar-open
|
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
mailboxes = +sanchayan-net/Inbox
|
|
|
|
mailboxes = +sanchayan-net/Coffee
|
|
|
|
mailboxes = +sanchayan-net/ietf
|
|
|
|
mailboxes = +sanchayan-net/gstreamer
|
|
|
|
mailboxes = +sanchayan-net/FreedesktopGitlab
|
|
|
|
mailboxes = +sanchayan-net/Sent
|
|
|
|
mailboxes = +sanchayan-net/Spam
|
|
|
|
mailboxes = +sanchayan-net/Trash
|
2022-02-13 14:14:15 +01:00
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
mailboxes = +sanchayan-com/Inbox
|
|
|
|
mailboxes = +sanchayan-com/Sent
|
|
|
|
mailboxes = +sanchayan-com/Spam
|
|
|
|
mailboxes = +sanchayan-com/Trash
|
2022-02-13 14:14:15 +01:00
|
|
|
|
|
|
|
mailboxes = +sanchayan/Inbox
|
|
|
|
mailboxes = +sanchayan/Sent
|
|
|
|
mailboxes = +sanchayan/Spam
|
2022-12-15 17:02:33 +01:00
|
|
|
|
2024-10-29 07:08:43 +01:00
|
|
|
mailboxes = +asymptotic/bluez
|
|
|
|
mailboxes = +asymptotic/Inbox
|
|
|
|
mailboxes = +asymptotic/Sent
|
|
|
|
mailboxes = +asymptotic/Trash
|
|
|
|
|
|
|
|
mailboxes = +fastmail/Inbox
|
|
|
|
mailboxes = +fastmail/Sent
|
|
|
|
mailboxes = +fastmail/Spam
|
|
|
|
|
2022-12-15 17:02:33 +01:00
|
|
|
# GPG signing options
|
|
|
|
set crypt_autosign = "no"
|
|
|
|
set crypt_replyencrypt = "yes"
|
|
|
|
set crypt_replysign = "yes"
|
|
|
|
set crypt_replysignencrypted = "yes"
|
|
|
|
set crypt_opportunistic_encrypt = "no"
|
|
|
|
set postpone_encrypt = "no"
|
|
|
|
set pgp_use_gpg_agent = "yes"
|
|
|
|
set pgp_default_key = "6F6A0609C12038F3"
|