dotfiles/mutt/muttrc

92 lines
2.3 KiB
Text
Raw Normal View History

2016-04-21 22:38:34 +02:00
set header_cache = "~/.cache/mutt"
set imap_check_subscribed
set imap_keepalive = 300
unset imap_passive
2017-03-31 18:48:42 +02:00
set mail_check = 30
2016-04-21 22:38:34 +02:00
set mbox_type=Maildir
2016-06-04 08:24:05 +02:00
set sort = threads
2016-04-21 22:38:34 +02:00
set sort_aux=last-date-received
set sleep_time = 0
2017-02-15 10:32:15 +01:00
set editor = "es"
2016-04-21 22:38:34 +02:00
## Work
source "~/.mutt/work"
folder-hook $folder 'source ~/.mutt/work'
## Uni
source "~/.mutt/uni"
folder-hook marcel.kapfer@uni-ulm.de 'source ~/.mutt/uni'
## Private
source "~/.mutt/private"
folder-hook marcelmichaelkapfer@gmail.com 'source ~/.mutt/private'
2016-06-04 08:24:05 +02:00
source /usr/share/doc/mutt/examples/gpg.rc
2016-04-21 22:38:34 +02:00
## Shortcuts
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/private<enter><change-folder>!<enter>'
macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/work<enter><change-folder>!<enter>'
macro index,pager <f4> '<sync-mailbox><enter-command>source ~/.mutt/uni<enter><change-folder>!<enter>'
## Settings
set send_charset="utf-8"
## Theming
source ~/.mutt/theme
## HTML mails
set mailcap_path = ~/.mutt/mailcap
auto_view text/html
## Abook
set query_command= "abook --mutt-query '%s'"
macro index,pager a "<pipe-message>abook --add-email-quiet<return>" "Add this sender to Abook"
bind editor <Tab> complete-query
2017-01-23 08:19:06 +01:00
## Sidebar
## Variables
set sidebar_visible = no
set sidebar_short_path = no
set sidebar_delim_chars = "/."
set sidebar_folder_indent = no
set sidebar_indent_string = " "
set sidebar_new_mail_only = no
set sidebar_next_new_wrap = no
set sidebar_on_right = no
set sidebar_divider_char = '|'
set mail_check_stats
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set sidebar_sort_method = "unsorted"
## Functions
bind index,pager \Cp sidebar-prev
bind index,pager \Cn sidebar-next
macro index,pager \Co "<sidebar-open><sidebar-toggle-visible>"
bind index,pager <F5> sidebar-page-up
bind index,pager <F6> sidebar-page-down
bind index,pager \C[ sidebar-prev-new
bind index,pager \C] sidebar-next-new
bind index,pager B sidebar-toggle-visible
## Colors
color sidebar_highlight black cyan
color sidebar_divider color8 black
color sidebar_flagged red black
color sidebar_new green black
color sidebar_ordinary color2 default
2017-03-31 18:48:42 +02:00
# Attachment support
set abort_noattach = ask-yes
set attach_keyword = "\\<(Anhang|angehängt|beigefügt|attach(|ed|ments?)?)\\>"
# New mail notification
set new_mail_command="notify-send 'New Email in %f' '%n new messages, %u unread.' &"
2017-01-23 08:19:06 +01:00
# Local Variables:
# mode: muttrc
# End: