blob: 676b901dd09effdf08952c5d83677cdfff4ed308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
;;; org-contacts-config.el --- Org Contacts Customizations -*- lexical-binding: t; -*-
;;; Commentary:
;; Configuration for Org Contacts.
;;; Code:
(use-package org-contacts
:after (org mu4e)
:defer .5
:bind ("C-z C" . org-contacts) ; starts contacts search
:config
(setq org-contacts-files (cons contacts-file '()))
(add-to-list 'org-capture-templates
'("c" "Contact" entry (file+headline contacts-file "Contacts")
"*%?\n:PROPERTIES:\n:ADDRESS: \n:PHONE: \n:EMAIL: \n:BIRTHDAY: \n:NOTES: \n:END:" :prepend t))
(setq mu4e-contacts-file contacts-file)
(add-to-list 'mu4e-headers-actions
'("add contact" . mu4e-action-add-org-contact))
(add-to-list 'mu4e-view-actions
'("add contact" . mu4e-action-add-org-contact)))
(provide 'org-contacts-config)
;;; org-contacts-config.el ends here.
|