dotfiles/mutt/muttrc

88 lines
2.4 KiB
Plaintext
Raw Normal View History

2018-05-18 19:40:16 +02:00
# simplify folder change
2018-05-18 20:07:46 +02:00
# notmuch for searching
2018-05-18 16:54:49 +02:00
2018-05-18 19:40:16 +02:00
# SMTP setting (smtp_pass is set in sourced file)
source "~/.mutt/mag_smtp"
2018-09-14 10:03:31 +02:00
set smtp_url='smtp://rothe@magazino.eu@smtp.office365.com'
2018-05-18 19:40:16 +02:00
set ssl_force_tls = yes
set realname="Johannes Rothe"
set from="rothe@magazino.eu"
set use_from = yes
2018-05-18 16:54:49 +02:00
2018-05-18 19:40:16 +02:00
set folder="~/Mail/"
set spoolfile="+magazino/INBOX"
set postponed="+magazino/Drafts"
set record="+magazino/Sent"
# offlineimap automatically creates this file
source "~/.mutt/mailboxes"
2018-05-18 16:54:49 +02:00
set pager_index_lines=10 # number of index lines to show
set pager_context=3 # number of context lines to show when scrolling
set pager_stop=yes # don't go to next message automatically
set menu_scroll=yes # scroll in menus
set tilde=yes # show tildes like in vim
unset markers # no ugly plus signs
2018-05-20 22:38:48 +02:00
set smart_wrap
2018-05-18 16:54:49 +02:00
set editor="nvim -c 'set spell' -c 'set spelllang=de,en'"
## html view options
2018-09-03 16:27:48 +02:00
auto_view text/html
2018-05-18 16:54:49 +02:00
alternative_order text/plain text/enriched text/html
# Delete messages without asking when Mutt is quit
2018-05-18 19:40:16 +02:00
set delete
set confirmappend=no
2018-05-18 16:54:49 +02:00
2018-05-18 19:40:16 +02:00
# forward options
2018-05-18 16:54:49 +02:00
# ask if the whole message including attachments should be forwarded
set mime_forward=ask-no
2018-11-19 23:29:59 +01:00
#set forward_format = "Fwd: %s"
set forward_format = "%s"
2018-05-18 19:40:16 +02:00
set include
set forward_quote
2018-05-18 16:54:49 +02:00
2018-05-18 20:07:46 +02:00
# faster mail checking
set timeout = 15
set mail_check = 60
2018-05-18 16:54:49 +02:00
# Macros
2018-11-19 23:29:59 +01:00
macro index,pager D "<save-message>+magazino/Done<enter><sync-mailbox>"
macro index,pager t "<forward-message>add.task.19025132.2196901048.bdb8e86d4bb9ff17@todoist.net<enter><enter><enter>
2018-05-18 19:40:16 +02:00
2018-05-20 22:38:48 +02:00
# Status Bar
set status_chars = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
# ctrl+b to view URLs
macro index \cb "|urlview\n"
macro pager \cb "|urlview\n"
2018-05-20 22:38:48 +02:00
2018-05-18 19:40:16 +02:00
# first, ignore all headers
ignore *
# then, show only these
unignore from: to: cc: date: subject:
# and in this order
hdr_order from: to: cc: date: subject:
2018-05-18 16:54:49 +02:00
# sidebar options
set sidebar_visible=no
# colors from /usr/share/doc/mutt/examples
color hdrdefault blue black
color quoted blue black
color signature blue black
color attachment brightblue black
color prompt brightmagenta black
color message white black
color error brightred black
color indicator brightwhite blue
color status black brightblue
color tree white black
color normal white black
color markers brightblue black
color search white black
color tilde brightmagenta black
color index blue black ~F
color index brightblue black "~N|~O"