From badf508538e060289189e497cd20d4f1000533f3 Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 10 Feb 2018 16:00:14 -0700 Subject: mutt configuration now automatic --- muttrc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 muttrc (limited to 'muttrc') diff --git a/muttrc b/muttrc new file mode 100644 index 0000000..d22fc91 --- /dev/null +++ b/muttrc @@ -0,0 +1,49 @@ +# vim: filetype=muttrc +# This is the general mutt config which has the settings that all accounts use. +set sleep_time = 0 +set sort = 'reverse-date' +set editor = vim +#set copy = no +set timeout = "5" +set mail_check = "10" +set mailcap_path = ~/.config/mutt/mailcap +set date_format="%m/%d %I:%M" +set index_format="%2C %Z %D %-15.15F %s (%-4.4c)" +set markers = no +set mark_old = no +bind index,pager i noop +bind index,pager g noop +auto_view text/html +auto_view application/pdf +alternative_order text/plain text/enriched text/html + +mono bold bold +mono underline underline +mono indicator reverse +color index yellow default '.*' +color index_author red default '.*' +color index_number blue default +color index_subject cyan default '.s' +color index_size green default +color normal default default +color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ +color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ + +bind editor noop +bind index G last-entry +bind index gg first-entry +bind index d half-down +bind index u half-up +bind index D delete-message +bind index U undelete-message +bind index F search +bind index,pager R group-reply +macro index,pager S ' +macro index,pager \Cu |urlview\n +bind index \Cf noop +macro index \Cf "unset wait_keyread -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"" "show only messages matching a notmuch pattern" +macro index A "all\n" "show all messages (undo limit)" +macro index,pager i1 'source /home/luke/.config/mutt/accounts/luke.muttrc!' +source /home/luke/.config/mutt/accounts/luke.muttrc +macro index,pager i2 'source /home/luke/.config/mutt/accounts/gkulade.muttrc!' +macro index,pager i3 'source /home/luke/.config/mutt/accounts/gmail.muttrc!' -- cgit v1.2.3