From 2fd03dcf334b9a5ec0a8e0530f34ef6c04e78e7c Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Tue, 30 Jun 2020 16:40:05 +0200 Subject: [PATCH] Restructure capture templates The template for simple tasks should be simple, but got more complex in the last change. This mistake is reverted with this commit, and the usual "t" can now be used again for simple tasks. The "T" shortcut now provides capture templates for complex tasks, but since complex tasks are both manifold and rarer, the capture templates are provided with two-letter shortcuts. --- init.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 1644a85..2912128 100644 --- a/init.el +++ b/init.el @@ -1048,15 +1048,15 @@ With given ARG, display files in `db/important-document-path’." :commands (org-capture) :init (setq org-capture-use-agenda-date nil org-capture-templates - `(("t" "Things to do") - ("tt" "Single Task" + `(("t" "Simple Task" entry (file db/org-default-refile-file) ,(concat "* TODO [#B] %^{What}\n" "SCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n" ":PROPERTIES:\n:CREATED: %U\n:END:\n" "%?")) - ("tc" "Record new complex task with first item" + ("T" "Complex Tasks") + ("TC" "Record new complex task with first item" entry (file db/org-default-refile-file) ,(concat "* %^{Task Description}\n" @@ -1064,7 +1064,7 @@ With given ARG, display files in `db/important-document-path’." "\n** %^{First Thing to Do}\n" ":PROPERTIES:\n:CREATED: %U\n:END:\n" "\n%?")) - ("tT" "Record new ticket with first item" + ("TT" "Record new ticket with first item" entry (file db/org-default-refile-file) ,(concat "* Ticket #%^{Ticket Number}: %^{Ticket Description}\n"