new capture templates
This commit is contained in:
@@ -233,23 +233,36 @@
|
||||
'("h" "Home" entry
|
||||
(file "~/org/home.org")
|
||||
"* TODO %?" :empty-lines 1))
|
||||
|
||||
(add-to-list 'org-capture-templates
|
||||
'("S" "Lecture" entry
|
||||
(file+headline "~/org/studies.org" "Schedule")
|
||||
"* %^{Subject} %^{Type|Lecture|}\n%^{Time}T"
|
||||
:empty-lines 1))
|
||||
(use-package! org-contacts
|
||||
:after org
|
||||
:custom (org-contacts-files '("~/org/contacts.org"))
|
||||
)
|
||||
|
||||
;;def var for template that's crazy
|
||||
(defvar my/org-contacts-template "* %(org-contacts-template-name)
|
||||
(defvar my/org-contacts-template "* %^{John Dough}
|
||||
:PROPERTIES:
|
||||
:ADDRESS: %^{289 Cleveland St. Brooklyn, 11206 NY, USA}
|
||||
:BIRTHDAY: %^{yyyy-mm-dd}
|
||||
:EMAIL: %(org-contacts-template-email)
|
||||
:EMAIL: %^{e@gmail.com}
|
||||
:NOTE: %^{NOTE}
|
||||
:END:" "Template for org-contacts.")
|
||||
:END:")
|
||||
(add-to-list 'org-capture-templates
|
||||
'("c" "Contact" entry
|
||||
(file+headline "~/org/contacts.org" "Contacts")
|
||||
my/org-contacts-template
|
||||
"* %^{Name|John Doe}\n
|
||||
:PROPERTIES:
|
||||
:PHONE: %^{Phone Number}
|
||||
:ADDRESS: %^{Address}
|
||||
:BIRTHDAY: %^{yyyy-mm-dd}
|
||||
:EMAIL: %^{Email}
|
||||
:NOTE: %^{NOTE}
|
||||
:END:"
|
||||
:empty-lines 1))
|
||||
)
|
||||
(setq-default cache-long-scans nil)
|
||||
|
||||
Reference in New Issue
Block a user