aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom
diff options
context:
space:
mode:
Diffstat (limited to 'config/doom')
-rw-r--r--config/doom/config.org20
1 files changed, 20 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index 40a6294..41cfdf3 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -68,3 +68,23 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary
current-prefix-arg))
(lexic-search identifier nil nil t))
#+end_src
+* Orgmode
+#+begin_src emacs-lisp
+(after! org
+ (setcdr (assoc "j" org-capture-templates)
+ '("Journal" entry (file+olp+datetree +org-capture-journal-file)
+ "* %(format-time-string \"%H:%M\") %?\n%a\n%i
+- Timebox days
+
+- I am grateful for
+- What would make today great
+- Daily affirmations
+- Amazing things that happened yesterday
+- How could I have made yesterday even better?"
+ :clock-in t :clock-resume t))
+
+ (add-to-list 'org-capture-templates
+ `("e" "Event" entry (file ,(expand-file-name
+ "caldav.org" org-directory))
+ "* %?\n%^T\n%i\n%a")))
+#+end_src