diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-15 13:30:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-15 13:30:49 -0500 |
| commit | cb63e1deb175bd4d26d9df37258665efddb9bc51 (patch) | |
| tree | 835847c470e4deaa0c6ead16167d48d52424a0f7 /modules/org-contacts-config.el | |
| parent | e3456484c656499911f7d968f93761824f353c86 (diff) | |
| download | dotemacs-cb63e1deb175bd4d26d9df37258665efddb9bc51.tar.gz dotemacs-cb63e1deb175bd4d26d9df37258665efddb9bc51.zip | |
add missing capture template for org-contact
Diffstat (limited to 'modules/org-contacts-config.el')
| -rw-r--r-- | modules/org-contacts-config.el | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/modules/org-contacts-config.el b/modules/org-contacts-config.el index 899df28dd..b27dee85a 100644 --- a/modules/org-contacts-config.el +++ b/modules/org-contacts-config.el @@ -35,7 +35,23 @@ ;; Use the safe wrapper instead (add-hook 'org-agenda-finalize-hook 'cj/org-contacts-anniversaries-safe)) -;;; ---------------------------- Capture Templates ------------------------------ +;; ----------------------- Org-Contacts Capture Template ----------------------- + +(with-eval-after-load 'org-capture + (add-to-list 'org-capture-templates + '("C" "Contact" entry (file+headline contacts-file "Contacts") + "* %(cj/org-contacts-template-name) +:PROPERTIES: +:EMAIL: %(cj/org-contacts-template-email) +:PHONE: %^{Phone(s) - separate multiple with commas} +:ADDRESS: %^{Address} +:COMPANY: %^{Company} +:TITLE: %^{Title/Position} +:BIRTHDAY: %^{Birthday (YYYY-MM-DD)} +:END: +%^{Notes} +Added: %U" + :empty-lines 1))) (with-eval-after-load 'org-capture (add-to-list 'org-capture-templates @@ -202,4 +218,4 @@ module provides more sophisticated completion." (global-set-key (kbd "C-c C") cj/org-contacts-map) (provide 'org-contacts-config) -;;; org-contacts-config.el ends here
\ No newline at end of file +;;; org-contacts-config.el ends here |
