aboutsummaryrefslogtreecommitdiff
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
commit94374ab46c43a5c16ae121c17ca6d6ff0ebea582 (patch)
tree581565b03245b8712cee6a6a5b45b7107c21bbcb /snippets/org-mode
parent284570c3cff534becd663a1ccd99d21dcf920ceb (diff)
downloaddotemacs-94374ab46c43a5c16ae121c17ca6d6ff0ebea582.tar.gz
dotemacs-94374ab46c43a5c16ae121c17ca6d6ff0ebea582.zip
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 000000000..938e1a293
--- /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 000000000..835e7adc3
--- /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 000000000..2e190d802
--- /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 000000000..f0c6cc008
--- /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 000000000..2d262b4a5
--- /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 000000000..8f80ce304
--- /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 000000000..4aae3ec5d
--- /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