From 338216b876f982551b2349f6a61fe29b2b4f865e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 24 Apr 2021 14:08:06 +0200 Subject: orgmode capture templates --- config/doom/config.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'config') 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 -- cgit v1.2.3