about summary refs log tree commit diff
path: root/snippets/org-mode
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2018-03-29T22·10-0400
committerGriffin Smith <root@gws.fyi>2018-03-29T22·10-0400
commitd88fb3194f2a50efa6d407e85d47d14da3700ff3 (patch)
tree3aa434e148f4f767a992c87b144d536c0e10b689 /snippets/org-mode
Initial commit
Diffstat (limited to 'snippets/org-mode')
-rw-r--r--snippets/org-mode/date5
-rw-r--r--snippets/org-mode/date-time5
-rw-r--r--snippets/org-mode/nologdone5
-rw-r--r--snippets/org-mode/source-block8
4 files changed, 23 insertions, 0 deletions
diff --git a/snippets/org-mode/date b/snippets/org-mode/date
new file mode 100644
index 000000000000..297529cdac64
--- /dev/null
+++ b/snippets/org-mode/date
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# key: date
+# name: date.org
+# --
+[`(format-time-string "%Y-%m-%d")`]$0
diff --git a/snippets/org-mode/date-time b/snippets/org-mode/date-time
new file mode 100644
index 000000000000..fde469276c3f
--- /dev/null
+++ b/snippets/org-mode/date-time
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: date-time
+# key: dt
+# --
+[`(format-time-string "%Y-%m-%d %H:%m:%S")`]
\ No newline at end of file
diff --git a/snippets/org-mode/nologdone b/snippets/org-mode/nologdone
new file mode 100644
index 000000000000..e5be85d6b3c0
--- /dev/null
+++ b/snippets/org-mode/nologdone
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: nologdone
+# key: nologdone
+# --
+#+STARTUP: nologdone$0
\ No newline at end of file
diff --git a/snippets/org-mode/source-block b/snippets/org-mode/source-block
new file mode 100644
index 000000000000..3b7694557ecd
--- /dev/null
+++ b/snippets/org-mode/source-block
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: source-block
+# key: src
+# expand-env: ((yas-indent-line 'fixed))
+# --
+#+BEGIN_SRC ${1:elisp}
+$2
+#+END_SRC
\ No newline at end of file