summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/10-km-pkg.el2
-rw-r--r--init/km-orgcontacts.el7
2 files changed, 9 insertions, 0 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el
index 4489552..ef0bcb6 100644
--- a/init/10-km-pkg.el
+++ b/init/10-km-pkg.el
@@ -34,3 +34,5 @@
(when (not (package-installed-p pkg))
(message "installing %s" pkg)
(package-install pkg))))
+
+(add-to-list 'load-path "~/.emacs.d/vendor/")
diff --git a/init/km-orgcontacts.el b/init/km-orgcontacts.el
new file mode 100644
index 0000000..b75ddb5
--- /dev/null
+++ b/init/km-orgcontacts.el
@@ -0,0 +1,7 @@
+(require 'org-contacts)
+
+(setq org-contacts-files '("~/notes/contacts.org"))
+
+(add-to-list 'org-capture-templates
+ '("a" "email address" entry (file "~/notes/contacts.org")
+ "** %(org-contacts-template-name)\n :PROPERTIES:\n :EMAIL: %(org-contacts-template-email)\n :END:"))