From 45658a0bfa635cf1799b00c1585e8710424ba162 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 21 Sep 2020 18:46:26 -0700 Subject: Move all capture templates into their own files --- oni-org/capture-templates/appointment.org | 2 ++ oni-org/capture-templates/clocked/code-note.org | 8 ++++++++ oni-org/capture-templates/clocked/code.org | 3 +++ oni-org/capture-templates/clocked/item.org | 1 + oni-org/capture-templates/clocked/kill-ring.org | 1 + oni-org/capture-templates/clocked/note.org | 3 +++ oni-org/capture-templates/inbox-with-selection.org | 9 +++++++++ oni-org/capture-templates/inbox.org | 5 +++++ oni-org/capture-templates/journal.org | 3 +++ oni-org/capture-templates/reading-note.org | 5 +++++ oni-org/capture-templates/task.org | 4 ++++ 11 files changed, 44 insertions(+) create mode 100644 oni-org/capture-templates/appointment.org create mode 100644 oni-org/capture-templates/clocked/code-note.org create mode 100644 oni-org/capture-templates/clocked/code.org create mode 100644 oni-org/capture-templates/clocked/item.org create mode 100644 oni-org/capture-templates/clocked/kill-ring.org create mode 100644 oni-org/capture-templates/clocked/note.org create mode 100644 oni-org/capture-templates/inbox-with-selection.org create mode 100644 oni-org/capture-templates/inbox.org create mode 100644 oni-org/capture-templates/journal.org create mode 100644 oni-org/capture-templates/reading-note.org create mode 100644 oni-org/capture-templates/task.org (limited to 'oni-org/capture-templates') diff --git a/oni-org/capture-templates/appointment.org b/oni-org/capture-templates/appointment.org new file mode 100644 index 0000000..a29f899 --- /dev/null +++ b/oni-org/capture-templates/appointment.org @@ -0,0 +1,2 @@ +* TODO %i%? +%U diff --git a/oni-org/capture-templates/clocked/code-note.org b/oni-org/capture-templates/clocked/code-note.org new file mode 100644 index 0000000..ee9489f --- /dev/null +++ b/oni-org/capture-templates/clocked/code-note.org @@ -0,0 +1,8 @@ +%U +- File: [[file:%F::%(number-to-string (with-current-buffer (get-buffer (find-file-noselect \"%F\")) (line-number-at-pos (region-beginning))))][%f]] + +%? + +#+BEGIN_SRC %(string-remove-suffix \"-mode\" (symbol-name (with-current-buffer (get-buffer (find-file-noselect \"%F\")) major-mode))) +%i +#+END_SRC" diff --git a/oni-org/capture-templates/clocked/code.org b/oni-org/capture-templates/clocked/code.org new file mode 100644 index 0000000..e8df773 --- /dev/null +++ b/oni-org/capture-templates/clocked/code.org @@ -0,0 +1,3 @@ +#+BEGIN_EXAMPLE +%i +#+END_EXAMPLE diff --git a/oni-org/capture-templates/clocked/item.org b/oni-org/capture-templates/clocked/item.org new file mode 100644 index 0000000..8b3f27b --- /dev/null +++ b/oni-org/capture-templates/clocked/item.org @@ -0,0 +1 @@ +%i%? diff --git a/oni-org/capture-templates/clocked/kill-ring.org b/oni-org/capture-templates/clocked/kill-ring.org new file mode 100644 index 0000000..4a883c8 --- /dev/null +++ b/oni-org/capture-templates/clocked/kill-ring.org @@ -0,0 +1 @@ +%c diff --git a/oni-org/capture-templates/clocked/note.org b/oni-org/capture-templates/clocked/note.org new file mode 100644 index 0000000..f3e8ce3 --- /dev/null +++ b/oni-org/capture-templates/clocked/note.org @@ -0,0 +1,3 @@ +%U + +%? diff --git a/oni-org/capture-templates/inbox-with-selection.org b/oni-org/capture-templates/inbox-with-selection.org new file mode 100644 index 0000000..9dc2f6e --- /dev/null +++ b/oni-org/capture-templates/inbox-with-selection.org @@ -0,0 +1,9 @@ +* %? +:PROPERTIES: +:CREATED: %U +:ORIGIN: %a +:END: + +#+begin_quote +%i +#+end_quote diff --git a/oni-org/capture-templates/inbox.org b/oni-org/capture-templates/inbox.org new file mode 100644 index 0000000..3c97b8a --- /dev/null +++ b/oni-org/capture-templates/inbox.org @@ -0,0 +1,5 @@ +* %? +:PROPERTIES: +:CREATED: %U +:ORIGIN: %a +:END: diff --git a/oni-org/capture-templates/journal.org b/oni-org/capture-templates/journal.org new file mode 100644 index 0000000..a809422 --- /dev/null +++ b/oni-org/capture-templates/journal.org @@ -0,0 +1,3 @@ +* %<%H:%M:%S> + +%? diff --git a/oni-org/capture-templates/reading-note.org b/oni-org/capture-templates/reading-note.org new file mode 100644 index 0000000..bbf1cf7 --- /dev/null +++ b/oni-org/capture-templates/reading-note.org @@ -0,0 +1,5 @@ +%? + +#+begin_quote +%i +#+end_quote diff --git a/oni-org/capture-templates/task.org b/oni-org/capture-templates/task.org new file mode 100644 index 0000000..20a4d69 --- /dev/null +++ b/oni-org/capture-templates/task.org @@ -0,0 +1,4 @@ +* TODO %i%? +:PROPERTIES: +:CREATED: %U +:END: -- cgit v1.2.3-54-g00ecf