aboutsummaryrefslogtreecommitdiffstats
path: root/.mutt/muttrc
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-09-06 16:40:07 +0200
committerDavid Runge <dave@sleepmap.de>2015-09-06 16:40:07 +0200
commitbd865ea5c26303d34b0cb731423b49472c50f89c (patch)
treefc3f0eaadea97b6fe7dc4ac891aad22999752b20 /.mutt/muttrc
parent75e7f878195855651cd51b8be070738ef8cd492b (diff)
downloaddotfiles-bd865ea5c26303d34b0cb731423b49472c50f89c.tar.gz
dotfiles-bd865ea5c26303d34b0cb731423b49472c50f89c.tar.bz2
dotfiles-bd865ea5c26303d34b0cb731423b49472c50f89c.tar.xz
dotfiles-bd865ea5c26303d34b0cb731423b49472c50f89c.zip
.mutt/*: Adding initial mutt setup.
Diffstat (limited to '.mutt/muttrc')
-rw-r--r--.mutt/muttrc50
1 files changed, 50 insertions, 0 deletions
diff --git a/.mutt/muttrc b/.mutt/muttrc
new file mode 100644
index 0000000..87ec844
--- /dev/null
+++ b/.mutt/muttrc
@@ -0,0 +1,50 @@
+# 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 <Tab> complete-query
+bind editor ^T complete
+
+# adding e-mail addresses to khard address book
+macro index,pager A \
+ "<pipe-message>khard add-email<return>" \
+ "add the sender email address to khard"
+
+
+## dave@sleepmap.de
+set spoolfile = "+sleepmap.de/INBOX"
+source "~/.mutt/dave@sleepmap.de.rc"
+folder-hook sleepmap.de/* source ~/.mutt/dave@sleepmap.de.rc
+
+## david.runge@tu-berlin.de
+folder-hook tu-berlin.de/* source ~/.mutt/david.runge@campus.tu-berlin.de.rc
+
+## dave@c-base.org
+folder-hook c-base.org/* source ~/.mutt/dave@c-base.org.rc
+
+## Shortcuts
+macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.mutt/dave@sleepmap.de.rc<enter><change-folder>!<enter>'
+macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.mutt/david.runge@campus.tu-berlin.de.rc<enter><change-folder>!<enter>'
+macro index,pager <f4> '<sync-mailbox><enter-command>source ~/.mutt/dave@c-base.org.rc<enter><change-folder>!<enter>'
+
+
+## Security
+# Disable enter-command
+bind generic,alias,attach,browser,editor,index,compose,pager,pgp,postpone ':' noop
+