summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze2022-05-07 20:15:35 -0400
committerJakob L. Kreuze2022-05-07 20:33:38 -0400
commitd39f02fb233c5d662331b6e4b8abef4545235207 (patch)
tree0709108c48d9614fbabc0471982546ceee746cc1
parenta912caa3a6da796367d37fe4b5a139931a67f57d (diff)
[org] org-capture prompt for ledger
-rw-r--r--lisp/documents.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/documents.el b/lisp/documents.el
index 7af0e95..33f8b29 100644
--- a/lisp/documents.el
+++ b/lisp/documents.el
@@ -204,7 +204,10 @@ Visits LINK, or if LINK names a subdirectory of
:config
(setq org-capture-templates
`(("t" "TODO" entry (file "~/Notes/GTD/Inbox.org")
- "* TODO %?\n")))
+ "* TODO %?\n")
+ ("l" "Ledger" plain (file ,(format "~/Docs/Finance/%s.ledger"
+ (elt (calendar-current-date) 2)))
+ "%(org-read-date) %^{Payee}")))
;; A rather convoluted agenda setup to show me:

© 2015 - 2026 Jakob L. Kreuze