Update org capture templates

This commit is contained in:
Marcus Kammer 2022-12-18 13:05:16 +01:00
parent b698d49ce9
commit 5560486037
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -82,25 +82,25 @@
(add-hook 'org-agenda-finalize-hook #'org-agenda-log-mode-colorize-block))
;; Just make a note
(add-to-list 'org-capture-templates '("n" "Note" entry (file+headline "notes.org" "Notes") "* %k%?\n%U\n- %l"))
(add-to-list 'org-capture-templates '("n" "Note" entry (file "notes.org") "* %k%?\n%U\n- %l"))
;; Task driven life
(add-to-list 'org-capture-templates '("t" "Task" entry (file+headline "planning.org" "Tasks") "* TODO %?\n%u"))
(add-to-list 'org-capture-templates '("t" "Task" entry (file "tasks.org") "* TODO %? :TASK:\n%u"))
;; Recurring appointments
(add-to-list 'org-capture-templates '("a" "Appointment" entry (file+headline "planning.org" "Appointments") "* %?\n%T\n"))
(add-to-list 'org-capture-templates '("a" "Appointment" entry (file "appointments.org") "* %? :APPOINTMENT:\n%T\n"))
;; Capture a meeting
(add-to-list 'org-capture-templates '("m" "Meeting" entry (file+headline "planning.org" "Meetings") "* %? :MEETING:\n%T" :clock-in t))
(add-to-list 'org-capture-templates '("m" "Meeting" entry (file "meetings.org") "* %? :MEETING:\n%T" :clock-in t))
;; Capture a training
(add-to-list 'org-capture-templates '("w" "Training" entry (file+headline "planning.org" "Trainings") "* %? :TRAINING:\n%T" :clock-in t))
(add-to-list 'org-capture-templates '("w" "Training" entry (file "trainings.org") "* %? :TRAINING:\n%T" :clock-in t))
;; Log my activities
(add-to-list 'org-capture-templates '("j" "Journal" entry (file+olp+datetree "journal.org" "Journal") "* %^{Activity}\nEntered on %T\n%?" :tree-type week :empty-lines-after 1))
(add-to-list 'org-capture-templates '("j" "Journal" entry (file "journal.org") "* %? :JOURNAL:\nEntered on %T\n\n" :empty-lines-after 1))
;; Log my activities
(add-to-list 'org-capture-templates '("l" "Log" entry (file+olp+datetree "journal.org" "Logbook") "* %U - %^{Activity} :LOG:\n%?" :empty-lines-after 1))
(add-to-list 'org-capture-templates '("l" "Log" entry (file+olp+datetree "logbook.org") "* %T - %^{Activity} :LOG:\n%?" :clock-in t :empty-lines-after 1))
;; Log my growth talks
(add-to-list 'org-capture-templates '("g" "Growth Talk" entry (file+olp+datetree "growthtalk.org" "Talks") "* %U - %^{Activity} :TALK:"))
(add-to-list 'org-capture-templates '("g" "Growth Talk" entry (file+olp+datetree "growthtalks.org") "* %U - %^{Activity} :TALK:"))
;; Record general hours
(add-to-list 'org-capture-templates '("A" "Allgemein" table-line (file+olp "journal.org" "Stunden" "Allgemein") "| %u | %^{Stunden} | %? |"))
(add-to-list 'org-capture-templates '("A" "Allgemein" table-line (file+olp "hours.org") "| %u | %^{Stunden} | %? |"))
;; Maintain a shopping wish list
(add-to-list 'org-capture-templates '("B" "Buy" table-line (file+olp "journal.org" "Shopping") "| %u | %^{Preis} | %? |"))
(add-to-list 'org-capture-templates '("B" "Buy" table-line (file+olp "shopping.org") "| %u | %^{Preis} | %? |"))
(use-package org-roam
:after org