set mbox_type=Maildir set folder=~/Mail/personal set header_cache=~/Mail/mutt_cache #set record=~/Mail/personal/Sent set message_cachedir=~/Mail/mutt_cache set spoolfile=+"Inbox" set postponed=+"Drafts" set trash=+"Trash" mailboxes +"Inbox" mailboxes +"Spam" mailboxes +"Archives" mailboxes +"Sent" mailboxes +"Trash" set date_format="%Y-%m-%d" set index_format="%d %Z %-20.20F %s" # format of the index set imap_check_subscribed # Grab the list of all folders from IMAP server set realname="`pass show personal.email|awk '/realname:/ {print $2}'`" set from="`pass show personal.email|awk '/^email:/ {print $2}'`" set smtp_pass="`pass show personal.email|awk 'NR==1'`" set smtp_url="`pass show personal.email|awk '/^smtp_url:/ {print $2}'`" set ssl_force_tls=yes set ssl_starttls=yes set use_from=yes set edit_headers=no set sort=threads set sort_aux=last-date-received # Flowed format set text_flowed set mark_old=no # Don't auto-mark messages as "old" set score_threshold_delete=-1 # Never auto-mark a message for deletion. ignore * # Hide all headers by default unignore "From:" # Show this header unignore "To:" # Show this header unignore "Cc:" # Show this header unignore "Bcc:" # Show this header unignore "Date:" # Show this header unignore "Subject:" # Show this header set text_flowed=yes # To prevent breaking of long lines set mailcap_path = ~/dotfiles/neomutt/mailcap auto_view text/html # view html automatically alternative_order text/plain text/enriched text/html # save html for last color index red default ~P color index_author bold red default "~s.*" color index_subject yellow default "~s.*" color index_size yellow default "~s.*" set fast_reply=yes # Avoid confirmation of reply address set include=yes set sidebar_visible=yes set pager_context=3 set pager_stop=yes set shell="/bin/sh" set ispell="aspell -e -c" set wait_key=no #unset markers # Dont add a '+' to urls that wrap set arrow_cursor=no set fast_reply=yes set mail_check_stats=yes # neomutt-specific set sidebar_visible set sidebar_format="%B%?F? [%F]?%* %?N?%N/?%S" set query_command= "muttquery.sh %s" # TODO bind editor complete-query bind editor ^T complete macro index,pager \Cr "mbsync -a" "refresh mailbox" macro index \Ca "=Archivesecho 'Saved to archive'" bind index,pager G bottom # just like vi and less bind index,pager \Cp sidebar-prev # Ctrl-P - Previous Mailbox bind index,pager \Cn sidebar-next # Ctrl-N - Next Mailbox bind index,pager \Co sidebar-open # Ctrl-O - Open Highlighted Mailbox source /usr/share/neomutt/colorschemes/zenburn.neomuttrc