config/.muttrc

135 lines
4.1 KiB
Plaintext
Raw Permalink Normal View History

2009-11-24 11:18:32 +01:00
## GLOBAL
2016-09-26 13:56:44 +02:00
set sidebar_visible="yes"
2009-11-24 11:18:32 +01:00
set hidden_host # When set, mutt will skip the host name part of ``$hostname'' variable when adding the domain part to addresses.
set move=no
set quit=ask-yes
set timeout=15
set imap_authenticators="login"
set imap_passive="no"
unset mark_old # Controls whether or not mutt marks new unread messages as old if you exit a mailbox without reading them.
set tilde
auto_view text/html
alternative_order text/plain text/enriched text text/html # Show the "text/plain" part *before* the "text/html" part
set realname="Mathieu Maret"
#set signature="~/Desktop/Documents/signature_perso"
set reply_regexp="^((re|aw|sv|ang):[ \t]*)+"
# get rid of auto '--' when composing mail
set sig_dashes=yes
set abort_nosubject=yes
set abort_unmodified=yes
set postpone=ask-no
set tmpdir="~/.mutt/tmp/"
set sort=threads
set sort_aux=mailbox-order
2014-03-24 17:44:42 +01:00
#set editor="vim + -c 'set ft=mail tw=80' -c ':0/^$'"
2016-05-23 15:00:19 +02:00
set editor='vim -c "set spell spelllang=en_us"'
2009-11-24 11:18:32 +01:00
unset metoo
#unset confirmappend
#set help = no
## ACCOUNT
# GMAIL
2021-11-22 14:13:25 +01:00
#set folder= imaps://imap.gmail.com:99
#set postponed= +[Gmail]/Drafts
#set imap_user = 'mathieu.maret@gmail.com'
# Mathux
set folder= imap://mathux.org:143
set postponed= +Drafts #[Gmail]/Drafts
set imap_user = 'mathieu'
set ssl_starttls=yes
2016-05-23 15:00:19 +02:00
set spoolfile= +INBOX #or +[Gmail]/Important
2009-11-24 11:18:32 +01:00
#set imap_pass = 'yourpass'
#set record="imaps://imap.gmail.com/[Gmail]/Sent Mail"
unset record
2016-05-23 15:00:19 +02:00
set maildir_trash = yes
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
2009-11-24 11:18:32 +01:00
set certificate_file=~/.mutt/certificates
2016-05-23 15:00:19 +02:00
2009-11-24 11:18:32 +01:00
set imap_check_subscribed="yes"
set imap_list_subscribed="yes"
mailboxes !
2021-11-22 14:13:25 +01:00
#set smtp_url = smtp://mathieu.maret@smtp.gmail.com:587/
set smtp_url = smtp://mathieu@mathux.org:587/
2009-11-24 11:18:32 +01:00
## VIEW MAIL
set smileys="(>From)|(:[-^]?[][)(><}{|/DP])"
set pager_context=1 # number of lines that overlap on paging
set pager_index_lines=8
set pager_stop # "next_page" won't jump to next message at end of messages
## REPLY
set edit_headers
set attribution="%n wrote:" # attribution format : on day, name wrote (alias=%a if you want to add that)
set indent_string="> "
2021-11-22 14:13:25 +01:00
#set from="Mathieu Maret <mathieu.maret@gmail.com>"
set from="Mathieu Maret <mathieu@mathux.org>"
2009-11-24 11:18:32 +01:00
## INDEX
set index_format="%4C %Z [%D] %-15.15n %s"
# When viewing the index, mails are marked
# Z -not sent to me, T - sent only to me, G - sent to me
# and others(Group), C - cc'ed to me, F - from me
set to_chars=" +-.F"
set date_format="%d/%b - %H:%M"
## HEADERS
ignore *
unignore From: To Cc Reply-To Mail-Followup-To Subject User-Agent X-Mailer Date X-Spam-Level:
hdr_order Date From: To Cc Reply-To Mail-Followup-To User-Agent X-Mailer X-Spam-Level: Subject
## BINDINGS
bind pager <up> previous-line
bind pager <down> next-line
bind index F flag-message
bind pager F flag-message
2009-11-24 12:01:28 +01:00
macro attach W <save-entry><kill-line>/home/mathieu/Download/
2009-11-24 11:18:32 +01:00
## SIDEBAR
# set up the sidebar, default not visible
2010-04-30 11:08:20 +02:00
#set sidebar_width=24
#set sidebar_visible=yes
#set sidebar_delim='|'
2009-11-24 11:18:32 +01:00
# color of folders with new mail
2010-04-30 11:08:20 +02:00
#color sidebar_new yellow default
2009-11-24 11:18:32 +01:00
# ctrl-n, ctrl-p to select next, prev folder
# ctrl-o to open selected folder
2010-04-30 11:08:20 +02:00
#bind index \CP sidebar-prev
#bind index \CN sidebar-next
#bind index \CO sidebar-open
#bind pager \CP sidebar-prev
#bind pager \CN sidebar-next
#bind pager \CO sidebar-open
2009-11-24 11:18:32 +01:00
# b toggles sidebar visibility
2010-04-30 11:08:20 +02:00
#macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
#macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
#bind index B bounce-message
2009-11-24 11:18:32 +01:00
## COLORS
source ~/.mutt/colorSimple2
#source ~/.mutt/colors/themes.256
#source ~/.mutt/colors/calmar.light
2014-03-24 18:05:40 +01:00
# Alias -> select an email an type 'a'
set alias_file = "~/.mutt/aliases"
set sort_alias = alias
set reverse_alias = yes
source $alias_file
## Abook instead of alias ?
#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
#
2021-11-22 14:13:25 +01:00
bind index,pager p noop # default: print
macro index,pager pp print
macro index,pager pa "<pipe-entry>~/.mutt/bin/patch_apply.sh<enter>"
macro index,pager pl "<pipe-entry>~/.mutt/bin/patch_lore.sh<enter>"