From 6b9ea8afc29a5ae4fc29ffbd18af4785a27e948d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 29 Oct 2022 21:28:57 +0100 Subject: Added capture templates for calendar entries Although the organisation of the actual org file is bad at this stage. It needs to be fixed. --- doom.d/config.el | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'doom.d') diff --git a/doom.d/config.el b/doom.d/config.el index e3e72c4..f3d677a 100644 --- a/doom.d/config.el +++ b/doom.d/config.el @@ -161,8 +161,14 @@ "* %?\nEntered on %U\n") ("hi" "Home Idea" entry (file+headline "~/org/notes.org" "Notes") "** %? :idea:\nEntered on %U\n") - ("hc" "Home Calendar" entry (file+olp+datetree "~/org/calendar/cal.org" "Home Calendar") - "* %?\n:PROPERTIES:\n%^G\n:END:\n%^T") + ;; ("hc" "Home Calendar" entry (file+headline "~/org/calendar/cal.org" "Home Calendar") + ;; "* %? %^G\n%^{CATEGORY}p%^T") + ;; ("hb" "Home Calendar - Block " entry (file+headline "~/org/calendar/cal.org" "Home Calendar") + ;; "* %? %^G\n%^{CATEGORY}p%^t--%^t") + ("hc" "Home Calendar" entry (file+headline "~/org/calendar/cal.org" "Home Calendar") + "* %?\n:PROPERTIES:\n:CATEGORY: HomeCal\n:END:\n%^T") + ("hb" "Home Calendar - Block" entry (file+headline "~/org/calendar/cal.org" "Home Calendar") + "* %?\n:PROPERTIES:\n:CATEGORY: HomeCal\n:END:\n%^t--%^t") ("w" "Work Tasks & Notes") ("wt" "Work TODO" entry (file+headline "~/org/work.org" "Single Actions") "** TODO %?\nEntered on %U\n" @@ -180,6 +186,14 @@ "** %?\nEntered on %U\n") ("wd" "Retrospective Single Action" entry (file+headline "~/org/work.org" "Single Actions") "* DONE %?\nCLOSED: %U") + ;; ("wc" "Work Calendar" entry (file+olp+datetree "~/org/calendar/cal.org" "Work Calendar") + ;; "* %? %^G\n%^{CATEGORY}p%^T") + ;; ("wb" "Work Calendar - Block " entry (file+olp+datetree "~/org/calendar/cal.org" "Work Calendar") + ;; "* %? %^G\n%^{CATEGORY}p%^t--%^t") + ("wc" "Work Calendar" entry (file+headline "~/org/calendar/cal.org" "Work Calendar") + "* %?\n:PROPERTIES:\n:CATEGORY: WorkCal\n:END:\n%^T") + ("wb" "Work Calendar - Block" entry (file+headline "~/org/calendar/cal.org" "Work Calendar") + "* %?\n:PROPERTIES:\n:CATEGORY: WorkCal\n:END:\n%^t--%^t") ("e" "Emacs Tip") ("et" "Emacs Tip" entry (file+headline "~/org/emacs-tips.org" "Emacs Tips") "* %?\n\t%a") -- cgit v1.2.3