Add capture templates for adding notes to the current task

This commit is contained in:
Gergely Polonkai 2018-11-23 15:42:26 +01:00
parent ded451df29
commit 84a6c6faa4

View File

@ -2620,6 +2620,23 @@ This is a big one; I use a lot of customisation here.
'("g" "GT2 note" entry '("g" "GT2 note" entry
(file+headline (lambda () (concat org-directory "gt2-notes.org")) "Captures") (file+headline (lambda () (concat org-directory "gt2-notes.org")) "Captures")
"** %^{Title}\n :PROPERTIES:\n :on: %T\n :END:\n %i%?")) "** %^{Title}\n :PROPERTIES:\n :on: %T\n :END:\n %i%?"))
(add-to-list 'org-capture-templates
'("c" "Item to current Clocked Task" item
(clock)
"%i%?"
:empty-lines 1))
(add-to-list 'org-capture-templates
'("K" "Kill-ring to Current Clocked Task" plain
(clock)
"%c"
:immediate-finish t
:empty-lines 1))
(add-to-list 'org-capture-templates
'("R" "Region to Current Clocked Task" plain
(clock)
"%i"
:immediate-finish t
:empty-lines 1))
:hook :hook
(ediff-select . f-ediff-org-unfold-tree-element) (ediff-select . f-ediff-org-unfold-tree-element)
(ediff-unselect . f-ediff-org-fold-tree) (ediff-unselect . f-ediff-org-fold-tree)