From cb713d9b3bf59ca2463e714e9cbbc9898d91b185 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 12 Sep 2015 00:33:52 +0200 Subject: Externalizing all settings to separate files. --- .mutt/muttrc | 60 ++++++++++++++++++------------------------------------------ 1 file changed, 18 insertions(+), 42 deletions(-) (limited to '.mutt/muttrc') diff --git a/.mutt/muttrc b/.mutt/muttrc index 87ec844..3488a0d 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -1,50 +1,26 @@ -# General settings -set editor=`echo \$EDITOR` -set my_name="David Runge" -source "~/.mutt/color.rc" -# GPG -source "~/.mutt/gpg.rc" -message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" - -# IMAP: offlineimap -set folder = "~/Mail" -source ~/.mutt/mailboxes -set mail_check = 60 -set sort = "threads" -set sort_aux = "last-date-received" -set mbox_type = Maildir -#source "gpg -dq ~/.mutt/my-pwds.gpg |" - -## khard -# auto-completing mails when pressing tab in "new mail" dialog using khard address books -set query_command= "khard mutt --search '%s'" -bind editor complete-query -bind editor ^T complete - -# adding e-mail addresses to khard address book -macro index,pager A \ - "khard add-email" \ - "add the sender email address to khard" +# defaults +source "~/.mutt/default.rc" +# color +source "~/.mutt/color.rc" -## dave@sleepmap.de -set spoolfile = "+sleepmap.de/INBOX" -source "~/.mutt/dave@sleepmap.de.rc" -folder-hook sleepmap.de/* source ~/.mutt/dave@sleepmap.de.rc +# gnupg +source "~/.mutt/gpg.rc" -## david.runge@tu-berlin.de -folder-hook tu-berlin.de/* source ~/.mutt/david.runge@campus.tu-berlin.de.rc +# mailboxes (set by offlineimap) +source "~/.mutt/mailboxes.rc" -## dave@c-base.org -folder-hook c-base.org/* source ~/.mutt/dave@c-base.org.rc +# sorting +source "~/.mutt/sorting.rc" -## Shortcuts -macro index,pager 'source ~/.mutt/dave@sleepmap.de.rc!' -macro index,pager 'source ~/.mutt/david.runge@campus.tu-berlin.de.rc!' -macro index,pager 'source ~/.mutt/dave@c-base.org.rc!' +# khard (contacts) +source "~/.mutt/khard.rc" +# accounts +source "~/.mutt/accounts.rc" -## Security -# Disable enter-command -bind generic,alias,attach,browser,editor,index,compose,pager,pgp,postpone ':' noop +# macros +source "~/.mutt/macros.rc" +# security +source "~/.mutt/security.rc" -- cgit v1.2.3-70-g09d2