Capture Templates

Modified todo template
switched the order
This commit is contained in:
LinlyBoi
2025-04-27 14:07:45 +03:00
parent 5ed6d6d7a2
commit ab2223952a
2 changed files with 46 additions and 21 deletions

View File

@@ -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")
@@ -249,23 +274,23 @@
:EMAIL: %^{Email}
:NOTE: %^{NOTE}
:END:"
:empty-lines 1))
:empty-lines 1) t)
(add-to-list 'org-capture-templates
'("w" "Work" entry
(file+headline "~/org/work.org" "Inbox")
"* TODO [#A] %?\n %i" :empty-lines 1))
"* TODO [#A] %?\n %i" :empty-lines 1) t)
(add-to-list 'org-capture-templates
'("i" "Content idea" entry
(file+headline "~/org/work.org" "Ideas")
"* TODO %? :idea:\n %i" :empty-lines 1))
"* TODO %? :idea:\n %i" :empty-lines 1) t)
(add-to-list 'org-capture-templates
'("l" "Someday" entry
(file+headline "~/org/someday.org" "Inbox")
"* TODO %? \n %i " :empty-lines 1))
"* TODO %? \n %i " :empty-lines 1) t)
(add-to-list 'org-capture-templates
'("s" "Studies" entry
(file+headline "~/org/studies.org" "Inbox")
"* TODO [#C] %?\n %i" :empty-lines 1))
"* TODO [#C] %?\n %i" :empty-lines 1) t)
(add-to-list 'org-capture-templates
'("S" "Lecture" entry
(file+headline "~/org/studies.org" "Schedule")
@@ -275,7 +300,7 @@
:LOCATION: %^{Location}
:END:
%^{Time}T"
:empty-lines 1))
:empty-lines 1) t)
;; add this for reminder stuff
;; :PROPERTIES:\n\n:WILD_NOTIFY_BEFORE: %^{Reminders}\n:END:\n
(add-to-list 'org-capture-templates
@@ -288,7 +313,7 @@
:LOCATION: %^{Location}
:END:
%^{Time}T"
:empty-lines 1))
:empty-lines 1) t)
(add-to-list 'org-capture-templates
'("H" "Home Event" entry
(file+headline "~/org/home.org" "Schedule")
@@ -298,15 +323,15 @@
:LOCATION: %^{Location}
:END:
%^{Time}T"
:empty-lines 1))
:empty-lines 1) t)
(add-to-list 'org-capture-templates
'("h" "Home" entry
(file+headline "~/org/home.org" "Inbox")
"* TODO [#A] %?\n %i" :empty-lines 1))
"* TODO [#A] %?\n %i" :empty-lines 1) t)
(add-to-list 'org-capture-templates
'("b" "Quote" plain
(file "~/org/quotes.org")
"%i" :empty-lines 0))
"%i" :empty-lines 0) t)
(setq-default org-archive-location "~/org/.archive/%s_archive::* Finished Tasks")
;; Import ox-latex to get org-latex-classes and other funcitonality