summaryrefslogtreecommitdiff
path: root/snippets/org-mode
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-16 05:14:28 -0600
committerCraig Jennings <c@cjennings.net>2026-02-16 05:14:28 -0600
commit9ed05f388d3cbd16a72f9ace130d1f59233354e7 (patch)
tree81853ec9826707f3217388913f0c3123d22ea0cb /snippets/org-mode
parent61dfcb7aef61c976c4446f1e089e1e3f578edf48 (diff)
chore(yasnippet): move snippets into emacs.d for source control
Relocate snippets-dir from ~/sync/org/snippets/ to ~/.emacs.d/snippets/ and restore 28 snippet files from backup.
Diffstat (limited to 'snippets/org-mode')
-rw-r--r--snippets/org-mode/code-block8
-rw-r--r--snippets/org-mode/fake-elisp-block8
-rw-r--r--snippets/org-mode/habitdrawer7
-rw-r--r--snippets/org-mode/new drill item8
-rw-r--r--snippets/org-mode/org-export-md7
-rw-r--r--snippets/org-mode/org_filetag_topic5
-rw-r--r--snippets/org-mode/visibility - showall5
7 files changed, 48 insertions, 0 deletions
diff --git a/snippets/org-mode/code-block b/snippets/org-mode/code-block
new file mode 100644
index 00000000..938e1a29
--- /dev/null
+++ b/snippets/org-mode/code-block
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: code-block
+# key: ==c
+# --
+
+==== code: $1
+
+==== \ No newline at end of file
diff --git a/snippets/org-mode/fake-elisp-block b/snippets/org-mode/fake-elisp-block
new file mode 100644
index 00000000..835e7adc
--- /dev/null
+++ b/snippets/org-mode/fake-elisp-block
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: fake-elisp-block
+# key: --e
+# --
+
+--- emacs-lisp
+$1
+---
diff --git a/snippets/org-mode/habitdrawer b/snippets/org-mode/habitdrawer
new file mode 100644
index 00000000..2e190d80
--- /dev/null
+++ b/snippets/org-mode/habitdrawer
@@ -0,0 +1,7 @@
+# name: habitdrawer
+# key:<habit
+# --
+:PROPERTIES:
+:STYLE: habit
+:RESET_CHECK_BOXES: t
+:END: \ No newline at end of file
diff --git a/snippets/org-mode/new drill item b/snippets/org-mode/new drill item
new file mode 100644
index 00000000..f0c6cc00
--- /dev/null
+++ b/snippets/org-mode/new drill item
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: new drill item
+# key: ndrill
+# --
+
+* $1 :drill:
+
+** Answer
diff --git a/snippets/org-mode/org-export-md b/snippets/org-mode/org-export-md
new file mode 100644
index 00000000..2d262b4a
--- /dev/null
+++ b/snippets/org-mode/org-export-md
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: org-export-md
+# key: <org-export-md
+# --
+# -*- org-auto-export-to-md: t; -*-
+#+DATE:
+$0 \ No newline at end of file
diff --git a/snippets/org-mode/org_filetag_topic b/snippets/org-mode/org_filetag_topic
new file mode 100644
index 00000000..8f80ce30
--- /dev/null
+++ b/snippets/org-mode/org_filetag_topic
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: org filetag topic
+# key: <ftt
+# --
+#+FILETAGS: Topic \ No newline at end of file
diff --git a/snippets/org-mode/visibility - showall b/snippets/org-mode/visibility - showall
new file mode 100644
index 00000000..4aae3ec5
--- /dev/null
+++ b/snippets/org-mode/visibility - showall
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: visibility - showall
+# key: <showall
+# --
+#+STARTUP: showall \ No newline at end of file