From 545c708f865e2691966421af3e35713acbc9d536 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Sat, 26 Apr 2025 10:19:58 +0300 Subject: [PATCH] Modified original TODO template Will slowly transition to one todo file probably --- private_dot_config/doom/config.el | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/private_dot_config/doom/config.el b/private_dot_config/doom/config.el index 4f46270..8e9522d 100644 --- a/private_dot_config/doom/config.el +++ b/private_dot_config/doom/config.el @@ -237,7 +237,32 @@ :after org :custom (org-contacts-files '("~/org/contacts.org")) ) - + ;; the oj templates +(setq org-capture-templates + '(("t" "Personal todo" entry + (file+headline +org-capture-todo-file "Inbox") + "* TODO %?\n%i\n%a" :prepend t) + ("n" "Personal notes" entry + (file+headline +org-capture-notes-file "Inbox") + "* %u %?\n%i\n%a" :prepend t) + ("j" "Journal" entry + (file+olp+datetree +org-capture-journal-file) + "* %U %?\n%i\n%a" :prepend t) + ("p" "Templates for projects") + ("pt" "Project-local todo" entry + (file+headline +org-capture-project-todo-file "Inbox") + "* TODO %?\n%i\n%a" :prepend t) + ("pn" "Project-local notes" entry + (file+headline +org-capture-project-notes-file "Inbox") + "* %U %?\n%i\n%a" :prepend t) + ("pc" "Project-local changelog" entry + (file+headline +org-capture-project-changelog-file "Unreleased") + "* %U %?\n%i\n%a" :prepend t) + ("o" "Centralized templates for projects") + ("ot" "Project todo" entry #'+org-capture-central-project-todo-file "* TODO %?\n %i\n %a" :heading "Tasks" :prepend nil) + ("on" "Project notes" entry #'+org-capture-central-project-notes-file "* %U %?\n %i\n %a" :heading "Notes" :prepend t) + ("oc" "Project changelog" entry #'+org-capture-central-project-changelog-file "* %U %?\n %i\n %a" :heading "Changelog" :prepend t)) + ) (add-to-list 'org-capture-templates '("c" "Contact" entry (file+headline "~/org/contacts.org" "Contacts")