summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el23
1 files changed, 12 insertions, 11 deletions
diff --git a/emacs/init.el b/emacs/init.el
index f43c144..4118b5b 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -236,16 +236,8 @@ targets."
 	;; Org contacts seems to require birthdays to have a year.  However, i don't know the year of a lot of people's birthdays, so i set the year to 0000.  This looks bad when the birthday comes up in the agenda.  I figured that i don't usually need to know how old someone is going to be, so i change the format of how the birthday appears in the agenda so that i don't get the wrong age.
 	(org-contacts-birthday-format "Birthday: %l")
 
-	:config
-	(add-to-list 'org-capture-templates '("c" "Contact" entry (file+datetree "~/data/notes/notes.org")
-		"* %^{Name}
-:PROPERTIES:
-:ADDRESS: %^{Address}
-:BIRTHDAY: %^{yyyy-mm-dd}
-:EMAIL: %^{EMAIL}p
-:NOTE: %^{NOTE}
-:END:"
-:empty-lines 1)))
+	
+	)
 
 ;; select the help window so that i can easily close it again with q
 (setopt help-window-select t)
@@ -296,7 +288,16 @@ targets."
 	(org-return-follows-link t)
 	(org-agenda-files '("~/data/notes/notes.org"))
 	(org-capture-templates `(("j" "Journal" entry (file+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1)
-	("w" "Website" entry (file+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1)))
+	("w" "Website" entry (file+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1)
+ ("c" "Contact" entry (file+datetree "~/data/notes/notes.org")
+		"* %^{Name}
+:PROPERTIES:
+:ADDRESS: %^{Address}
+:BIRTHDAY: %^{yyyy-mm-dd}
+:EMAIL: %^{EMAIL}p
+:NOTE: %^{NOTE}
+:END:"
+:empty-lines 1)))
 	
 	(org-agenda-tags-column t)
 	(org-agenda-block-separator ?─)