From f3c54e5eee9aff018f5006e5801a89248fb173d3 Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Thu, 21 Nov 2024 13:56:07 +0800 Subject: [PATCH] Add capture template for calendar event. --- emacs/.emacs.d/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 8c72ba7..ec85953 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -120,7 +120,13 @@ vc-follow-symlinks t "* %?\nEntered on %U\n %i\n %a") ("b" "Tax receipt" item (file "~/Documents/belastingen/FY24-25.org") - "* %t %a\n") + "* %t %a\n") + ("a" "Appointment" entry + (file+olp+datetree "~/Nextcloud/notes/calendar.org") + "* %?\n :PROPERTIES:\n :location: %^{Location}\n :END:\n%^T--%^T\n\n" + :jump-to-captured t + :tree-type month + :time-prompt t) ("p" "Permanent note" plain (file denote-last-path) #'denote-org-capture -- 2.39.5