dotfiles/mutt/muttrc

105 lines
2.4 KiB
Text
Raw Normal View History

2017-08-10 09:26:26 +02:00
set header_cache = "~/.cache/mutt/headers"
set message_cachedir = "~/.cache/mutt/messages"
2017-08-10 09:26:59 +02:00
set tmpdir = "/tmp"
2016-04-21 22:38:34 +02:00
set imap_check_subscribed
2017-08-10 09:26:59 +02:00
set timeout = 60
set mail_check = 120
2016-04-21 22:38:34 +02:00
set imap_keepalive = 300
unset imap_passive
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-04-03 21:11:10 +02:00
set beep = no
2017-08-10 09:26:59 +02:00
set smart_wrap
set pager_index_lines=8
set confirmappend = no
set include=yes
set hdrs
set edit_hdrs
set nomarkers
set reply_to=ask-yes
set envelope_from
2016-04-21 22:38:34 +02:00
2017-02-15 10:32:15 +01:00
set editor = "es"
2017-08-10 09:28:29 +02:00
## Passwords file
source "gpg --textmode -d ~/.mutt/passwords.gpg |"
2016-04-21 22:38:34 +02:00
2016-06-04 08:24:05 +02:00
source /usr/share/doc/mutt/examples/gpg.rc
2016-04-21 22:38:34 +02:00
## Settings
set send_charset="utf-8"
## Theming
source ~/.mutt/theme
2017-08-10 09:29:00 +02:00
# message list
set index_format = "%4C %Z %{%b %d %R} %-15.15L (%6l) %s"
2016-04-21 22:38:34 +02:00
## HTML mails
2016-04-21 22:38:34 +02:00
set mailcap_path = ~/.mutt/mailcap
alternative_order text/plain text/html
2016-04-21 22:38:34 +02:00
auto_view text/html
2017-08-10 09:29:47 +02:00
## khard
set query_command= "khard email --parsable %s"
2016-04-21 22:38:34 +02:00
bind editor <Tab> complete-query
2017-08-10 09:29:47 +02:00
bind editor ^T complete
macro index,pager a "<pipe-message>khard add-email<return>" "Add this sender to khard"
2017-08-10 09:31:42 +02:00
# binds
bind index "{" previous-thread
bind index "}" next-thread
bind index "G" sync-mailbox
bind pager "{" previous-thread
bind pager "}" next-thread
2017-01-23 08:19:06 +01:00
# custom headers
2017-01-23 08:19:06 +01:00
## Sidebar
## Variables
2017-08-10 09:30:48 +02:00
set sidebar_visible = yes
set sidebar_short_path = yes
2017-01-23 08:19:06 +01:00
set sidebar_delim_chars = "/."
2017-08-10 09:30:48 +02:00
set sidebar_folder_indent = yes
2017-01-23 08:19:06 +01:00
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"
2017-08-10 09:30:48 +02:00
set sidebar_sort_method = "path"
2017-01-23 08:19:06 +01:00
## Functions
bind index,pager \Cp sidebar-prev
bind index,pager \Cn sidebar-next
2017-08-10 09:30:48 +02:00
bind index,pager \Co sidebar-open
2017-01-23 08:19:06 +01:00
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.' &"
# compatibility with some use cases
set abort_unmodified = no
2017-01-23 08:19:06 +01:00
# Local Variables:
# mode: muttrc
# End: