[Org] Some new capture templates

from http://www.howardism.org/Technical/Emacs/capturing-content.html.
This commit is contained in:
Daniel - 2018-11-18 14:10:26 +01:00
parent 041a2b473f
commit 3380369f5b
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 12 additions and 1 deletions

13
init.el
View File

@ -1059,7 +1059,18 @@
("s" "Code Snippet"
entry
(file db/org-default-refile-file)
"* %?\n%(db/org-capture-code-snippet \"%F\")")))
"* %?\n%(db/org-capture-code-snippet \"%F\")")
;; http://www.howardism.org/Technical/Emacs/capturing-content.html
("c" "Note for currently clocked in task"
item
(clock)
"%i%?"
:empty-lines 1)
("K" "Kill-ring to currently clocked in task"
plain
(clock)
"%c"
:immediate-finish t :empty-lines 1)))
:config (progn
;; disable usage of helm for `org-capture'
(with-eval-after-load 'helm-mode