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