This commit is contained in:
2024-02-29 14:58:42 +02:00
parent 92caff347f
commit c291aaebe6

View File

@@ -234,13 +234,12 @@
(file "~/org/home.org") (file "~/org/home.org")
"* TODO %?" :empty-lines 1)) "* TODO %?" :empty-lines 1))
(use-package! org-contacts (use-package! org-contacts
:ensure nil
: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 "* %(org-contacts-template-name)
: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}
@@ -248,9 +247,11 @@
:NOTE: %^{NOTE} :NOTE: %^{NOTE}
:END:" "Template for org-contacts.") :END:" "Template for org-contacts.")
(add-to-list 'org-capture-templates (add-to-list 'org-capture-templates
("c" "Contact" entry (file+headline "~/org/contacts.org" "Contacts"), '("c" "Contact" entry
my/org-contacts-template (file+headline "~/org/contacts.org" "Contacts")
:empty-lines 1)) my/org-contacts-template
:empty-lines 1))
)
(setq-default cache-long-scans nil) (setq-default cache-long-scans nil)
;; zsh pls ;; zsh pls