From 6747a3693c6320f0b0f3a49283c6b4d1a53fc3fa Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 9 May 2024 13:08:43 -0700 Subject: [PATCH] [oni-org] Add capture template for DONE tasks --- oni-org/oni-org.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index ec96096..51b862f 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2024.0315.155036 +;; Version: 2024.0509.130831 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table ob-async org-ql org-super-agenda) ;; This program is free software; you can redistribute it and/or modify @@ -1243,6 +1243,16 @@ same code all the time." (agenda "" ((org-agenda-span 3)))))) +(oni-org--map-put org-capture-templates "D" + '("A DONE item for my to-done list." entry (file oni-org-todo-main-file) + "* DONE %? +:PROPERTIES: +:CREATED: %U +:END: +:LOGBOOK: +- State \"DONE\" from \"TODO\" %U +:END:")) + (oni-org--map-put org-capture-templates "t" '("A simple TODO item." entry (file "") "* TODO %? :PROPERTIES: