# https://neomutt.org/guide/reference.html
# set quit = ask-yes
set realname = "Jake Koroman"
set from = "jake@jakekoroman.com"
set sendmail = "msmtp -a personal"
set pager_stop=yes
# set sort = reverse-date
set sort = threads
set sort_aux = reverse-last-date-received
set virtual_spoolfile=yes
set folder=~/mail/.notmuch/
virtual-mailboxes "inbox" "notmuch://?query=tag:inbox"
virtual-mailboxes "archive" "notmuch://?query=tag:archive"
virtual-mailboxes "sent" "notmuch://?query=tag:sent"
virtual-mailboxes "trash" "notmuch://?query=tag:trash"
set record = "~/mail/personal/Sent"
set nm_record = yes
set nm_record_tags = "sent"
set fast_reply
set fcc_attach
set forward_format = "Fwd: %s"
set forward_quote
set include
set reverse_name
set markers = no
set mark_old = no
set date_format = "%m/%d/%y"
set index_format = "%2C: %d %Z %-12.12g %-15.15L (%) %s"
set header_cache = $XDG_CACHE_HOME/mutt/header_cache
macro index a "+archive -unread -inbox" "Archive message"
macro index t "+todo -unread" "Todo message"
macro index I "+inbox -archive -trash" "Inbox message"
macro index d "+trash -unread -inbox" "Trash message"
macro index N "-unread" "Read message"
macro index c "?" "Change to vfolder overview"
macro index \\\\ "" "Search mailbox"
bind index,pager l modify-labels
bind index j noop
bind index k noop
bind index J noop
bind index K noop
bind index noop
bind index,pager x noop
bind index,pager Q exit
bind index g noop
bind index gg first-entry
bind index G last-entry
bind index tag-entry
bind browser o select-entry
bind pager o view-attachments
bind attach n exit
bind attach o view-attach
bind index,attach,browser e next-entry
bind index,attach,browser i previous-entry
bind index o display-message
bind index s sort-mailbox
bind index k toggle-read # only show unread
bind index \Cu previous-page
bind index \Cd next-page
bind pager e next-page
bind pager i previous-page
bind pager E next-entry
bind pager I previous-entry
bind index,pager R group-reply
bind pager g noop
bind index M noop
bind index,pager C noop
bind pager n exit
bind pager k search-next
#color index green default '.*'
#color index_author magenta default '.*'
#color index_number yellow default
#color index_subject cyan default '.*'