48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
# Folder for emails
|
|
set folder = "~/.mail"
|
|
# Directory to save sent messages into
|
|
set record = +Sent
|
|
# Directory to save drafts into
|
|
set postponed = +Drafts
|
|
# Headers cache?
|
|
set header_cache = ~/.cache/mutt/headers
|
|
set message_cachedir = ~/.cache/mutt/bodies
|
|
# Sort by threads
|
|
set sort = threads
|
|
# Sort threads by last date received - newest first
|
|
set sort_aux = reverse-last-date-received
|
|
# Show date in year/month/day hour:minute format
|
|
set date_format="%y/%m/%d %I:%M%p"
|
|
# Mailcap file is used to tell mutt how to open different types of file
|
|
set mailcap_path = "~/.config/mutt/mailcap"
|
|
# Tells Mutt to automatically view files with these mime types
|
|
auto_view text/html
|
|
# Order to try and show multipart emails
|
|
alternative_order text/plain text/enriched text/html
|
|
# Tells Mutt to automatically view files with these mime types
|
|
auto_view text/html
|
|
# Order to try and show multipart emails
|
|
alternative_order text/plain text/enriched text/html
|
|
set editor = "vim"
|
|
|
|
source accounts/gmail
|
|
folder-hook $folder 'source ~/.config/mutt/accounts/gmail'
|
|
|
|
source accounts/ensarsarajcic
|
|
folder-hook $folder 'source ~/.config/mutt/accounts/ensarsarajcic'
|
|
|
|
# Mailbox type
|
|
set mbox_type = Maildir
|
|
# Directory to pool for new mail
|
|
set spoolfile = +Inbox
|
|
mailboxes = +Inbox
|
|
set imap_check_subscribed
|
|
|
|
source /usr/share/doc/neomutt/vim-keys/vim-keys.rc
|
|
source colors-gruvbox.muttrc
|
|
|
|
macro index,pager A "<save-message>=Archive<enter>" "Archive Message"
|
|
|
|
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/gmail<enter><change-folder>!<enter>'
|
|
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.config/mutt/accounts/ensarsarajcic<enter><change-folder>!<enter>'
|