From d39f02fb233c5d662331b6e4b8abef4545235207 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sat, 7 May 2022 20:15:35 -0400 Subject: [org] org-capture prompt for ledger --- lisp/documents.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lisp') 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: -- cgit v1.3