X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e8a6cf2a1c5ab04da7f837ff863165782293bb4a..c3a03e540dae7adafed0124b1a83c63436b597d7:/mutt/muttrc diff --git a/mutt/muttrc b/mutt/muttrc new file mode 100644 index 0000000..c08c9c9 --- /dev/null +++ b/mutt/muttrc @@ -0,0 +1,63 @@ +# general settings +alternates samir.benmendil@.* ram-z@.* s.benmendil@.* +set mail_check = 0 +set envelope_from +set forward_format = "Fwd: %s" +set forward_quote = yes + +set edit_headers +set askcc +set editor = vim + +# goobook +set query_command = "goobook query '%s'" + +unset move + +# sort/threading +set sort = threads +set sort_aux = last-date-received +set sort_re = yes +set duplicate_threads = yes +set collapse_unread = no + +# look and feel +set pager_index_lines = 12 +set pager_context = 5 +set pager_stop = yes # don't jump to next message +set menu_scroll = yes +set smart_wrap = yes # wrap at word boundaries +set tilde = yes # fills end of messages with tilde +set markers = no +set status_on_top = yes # also help on bottom +set index_format="%Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" + +# sidebar +set sidebar_width = 12 +set sidebar_visible = yes +set sidebar_delim = '|' +set sidebar_sort = no +set sidebar_shortpath = yes +set sidebar_format = "%B%* %?N?%N?" + +# deal with crap +set mailcap_path = ~/.mutt/mailcap +auto_view text/html # view html automatically +alternative_order text/plain text/enriched text/html # save html for last + +# IMAP: offlineimap +set folder = "~/mail" # mail folder +set spoolfile = "+gmail/inbox" # set inbox +unset record # do not move sent msgs to a folder, gmail does that +set postponed = "+gmail/drafts" # drafts folder +set header_cache = "~/.cache/mutt" # cache headers for speedss +source ~/.mutt/mailboxes # source mailboxes generetated by offlineimap + +# SMTP: msmtp (with queue) +set sendmail = ~/.msmtp/msmtpq # use msmtp message queue +set sendmail_wait = -1 # fork sendmail to the background +set send_charset="us-ascii:utf-8" # only use ascii and utf8 + +source ~/.mutt/hooks +source ~/.mutt/bindings +source ~/.mutt/colors # color theme