[Org] Some new capture templates
from http://www.howardism.org/Technical/Emacs/capturing-content.html.
This commit is contained in:
parent
041a2b473f
commit
3380369f5b
13
init.el
13
init.el
|
@ -1059,7 +1059,18 @@
|
||||||
("s" "Code Snippet"
|
("s" "Code Snippet"
|
||||||
entry
|
entry
|
||||||
(file db/org-default-refile-file)
|
(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
|
:config (progn
|
||||||
;; disable usage of helm for `org-capture'
|
;; disable usage of helm for `org-capture'
|
||||||
(with-eval-after-load 'helm-mode
|
(with-eval-after-load 'helm-mode
|
||||||
|
|
Loading…
Reference in New Issue