diff options
| author | Jakob L. Kreuze | 2022-05-07 20:15:35 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2022-05-07 20:33:38 -0400 |
| commit | d39f02fb233c5d662331b6e4b8abef4545235207 (patch) | |
| tree | 0709108c48d9614fbabc0471982546ceee746cc1 /lisp | |
| parent | a912caa3a6da796367d37fe4b5a139931a67f57d (diff) | |
[org] org-capture prompt for ledger
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/documents.el | 5 |
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: |