forked from mio/scripts
1
0
Fork 0
scripts/dotfiles/muttrc

76 lines
3.6 KiB
Plaintext
Raw Permalink Normal View History

2023-04-21 02:31:52 +00:00
set realname = "mio" # Name in from field
set from = "mio@tilde.town" # From field
set hostname = "tilde.town" # @[hostname]
# Folders
set folder = ~/Mail/inbox # mail folder
set spoolfile = /var/mail/mio # mail source folder
set tmpdir = ~/Mail/tmp # Temp folder
set postponed = ~/Mail/drafts # Drafts folder
set record = ~/Mail/sent # Sent folder
set trash = ~/Mail/trash # Trash folder
# Folders displayed in the sidebar
mailboxes = ~/Mail/inbox
mailboxes = ~/Mail/drafts
mailboxes = ~/Mail/sent
mailboxes = ~/Mail/trash
mailboxes = ~/Mail/town
mailboxes = ~/Mail/list
# Mark all new as read
macro index A \
"<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" \
"mark all read"
# Go to folders
macro index,pager gd <change-folder>~/Mail/drafts<enter> "drafts"
macro index,pager gs <change-folder>~/Mail/sent<enter> "sent"
macro index,pager gt <change-folder>~/Mail/trash<enter> "trash"
# Save messages to folders
bind index,pager f noop
macro index fl "<tag-prefix-cond><save-message>~/Mail/list<enter><end-cond><sidebar-open>"
macro index ft "<tag-prefix-cond><save-message>~/Mail/town<enter><end-cond><sidebar-open>"
bind attach S save-entry # Save attachment
bind compose f edit-from # Edit from field
bind index,pager G group-reply # Group reply
bind index,pager j sidebar-next # Scroll down sidebar
bind index,pager k sidebar-prev # Scroll up sidebar
bind index,pager l list-reply # List reply
bind index,pager o sidebar-open # Open folder listed in sidebar
bind index D purge-message # Delete D flag mail
bind pager <down> next-line # Scroll down in message
bind pager <up> previous-line # Scroll up in message
# For threaded view oldest to newest. Reverse if sorting by newest first.
bind pager <left> previous-undeleted # Previous message
bind pager <right> next-undeleted # Next message
set sidebar_visible = yes # Show sidebar
set sidebar_width = 20 # Sidebar width
set sidebar_format = "%B%* %?N? [%N]?" # Display: mailbox [new]
set sidebar_short_path = yes # Shorten mailbox paths
set postpone = yes # Save to drafts
set copy = yes # Save copy of sent mail
set maildir_trash = yes # d flag mail handling
set delete = yes # Move d flag mail on exit
set check_new = yes # Check mail with mailbox open
set mail_check = 600 # Check interval in seconds
set editor = "vim" # Editor to compose mail
set charset = "utf-8" # Character encoding fallback
set send_charset = "utf-8:iso-8859-2:iso-8859-1" # Encoding for sent mail
set content_type = "text/plain" # Message body Content-Type
unset confirmappend # No prompt for mail append
unmy_hdr * # Clear preset headers
unset user_agent # Disable user-agent header
set hidden_host = yes # Skip hostname
set edit_headers = yes # Allow editing headers
set use_from = yes # Use custom from
set use_domain = yes # Use custom domain
ignore * # Hide all headers except
unignore from date subject to cc # select fields