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.
This commit is contained in:
parent
72768b659f
commit
2fd03dcf33
8
init.el
8
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"
|
||||
|
|
Loading…
Reference in New Issue