aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org
diff options
context:
space:
mode:
Diffstat (limited to 'oni-org')
-rw-r--r--oni-org/oni-org.el23
1 files changed, 19 insertions, 4 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index e2dc1ef..d691309 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.0308.170335
+;; Version: 2020.0310.164710
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna)
;; This program is free software; you can redistribute it and/or modify
@@ -249,14 +249,29 @@ _l_: Store link ^^ _j_: Journal entry
(file+olp+datetree
,(oni-org-expand-to-home "documents/gtd/journal.org"))
"* %<%H:%M:%S>\n %?")
- ("c" "Item to current clocked task" item
+ ("c" "Add to currently clocked item")
+ ("ca" "Note" plain
+ (clock)
+ " %U\n %?" :empty-lines 1)
+ ("ci" "Item to current clocked task" item
(clock)
" %i%?" :empty-lines 1)
- ("C" "Contents to current clocked tasks" plain
+ ("cc" "Marked code example with notes" plain
+ (clock)
+ " %U
+ - File: [[file:%F::%(number-to-string (with-current-buffer (get-buffer \"%f\") (line-number-at-pos (region-beginning))))][%f]]
+
+ %?
+
+ #+BEGIN_SRC %(string-remove-suffix \"-mode\" (symbol-name (with-current-buffer (get-buffer \"%f\") major-mode)))
+ %i
+ #+END_SRC"
+ :empty-lines 1)
+ ("cC" "Marked code example" plain
(clock)
" #+BEGIN_EXAMPLE\n %i\n #+END_EXAMPLE"
:immediate-finish t :empty-lines 1)
- ("K" "Kill-ring to current clocked task" plain
+ ("ck" "Kill-ring contents" plain
(clock)
" %c" :immediate-finish t :empty-lines 1)))