aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-03-08 15:19:29 -0700
committerGravatar Tom Willemse2020-03-08 15:19:29 -0700
commitc68c26345ec3f3b7cf9a23eec76e2adde3d577ce (patch)
treee555c3e568c9b84afff83cfaba2effaf660fee91
parentc1106dfb3d4dca9ed87569cba96590ec1c56b5ac (diff)
downloademacs-config-c68c26345ec3f3b7cf9a23eec76e2adde3d577ce.tar.gz
emacs-config-c68c26345ec3f3b7cf9a23eec76e2adde3d577ce.zip
Add some more capture templates
-rw-r--r--oni-org/oni-org.el14
1 files changed, 12 insertions, 2 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index 9f41b93..ddb4279 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0305.224948
+;; Version: 2020.0307.152844
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets)
;; This program is free software; you can redistribute it and/or modify
@@ -247,7 +247,17 @@ _l_: Store link ^^ _j_: Journal entry
("j" "Journal entry" entry
(file+olp+datetree
,(oni-org-expand-to-home "documents/gtd/journal.org"))
- "* %<%H:%M:%S>\n %?")))
+ "* %<%H:%M:%S>\n %?")
+ ("c" "Item to current clocked task" item
+ (clock)
+ " %i%?" :empty-lines 1)
+ ("C" "Contents to current clocked tasks" plain
+ (clock)
+ " #+BEGIN_EXAMPLE\n %i\n #+END_EXAMPLE"
+ :immediate-finish t :empty-lines 1)
+ ("K" "Kill-ring to current clocked task" plain
+ (clock)
+ " %c" :immediate-finish t :empty-lines 1)))
(setq org-todo-keywords
'((sequence "TODO(t)" "BLOCKED(b@)" "IN-PROGRESS(p)"