1
0
Fork 0

[oni-org] Add capture template for DONE tasks

This commit is contained in:
Tom Willemse 2024-05-09 13:08:43 -07:00
parent ad65e6eff0
commit 6747a3693c

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; This program is free software; you can redistribute it and/or modify
@ -1243,6 +1243,16 @@ same code all the time."
(agenda "" (agenda ""
((org-agenda-span 3)))))) ((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" (oni-org--map-put org-capture-templates "t"
'("A simple TODO item." entry (file "") "* TODO %? '("A simple TODO item." entry (file "") "* TODO %?
:PROPERTIES: :PROPERTIES: