about summary refs log tree commit diff
path: root/snippets/org-mode
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-07-09T21·50-0400
committerGriffin Smith <root@gws.fyi>2019-07-09T21·50-0400
commit23b179ad1d3d2e07c114741dffc50a8343f0a7a6 (patch)
tree46a6a982b7de4710ddf35ffdf2439d6291924d53 /snippets/org-mode
parenta3eb6846b3eeb739bce26a7b92b6a634688e57af (diff)
A bunch of new snippets
Diffstat (limited to 'snippets/org-mode')
-rw-r--r--snippets/org-mode/SQL source block6
-rw-r--r--snippets/org-mode/description7
-rw-r--r--snippets/org-mode/python source block6
-rw-r--r--snippets/org-mode/transaction7
4 files changed, 26 insertions, 0 deletions
diff --git a/snippets/org-mode/SQL source block b/snippets/org-mode/SQL source block
new file mode 100644
index 000000000000..b5d43fd6bc01
--- /dev/null
+++ b/snippets/org-mode/SQL source block
@@ -0,0 +1,6 @@
+# key: sql
+# name: SQL source block
+# --
+#+BEGIN_SRC sql ${1::async}
+$2
+#+END_SRC
diff --git a/snippets/org-mode/description b/snippets/org-mode/description
new file mode 100644
index 000000000000..a43bc95cc3ed
--- /dev/null
+++ b/snippets/org-mode/description
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: description
+# key: desc
+# --
+:DESCRIPTION:
+$1
+:END:
diff --git a/snippets/org-mode/python source block b/snippets/org-mode/python source block
new file mode 100644
index 000000000000..247ae51b0b78
--- /dev/null
+++ b/snippets/org-mode/python source block
@@ -0,0 +1,6 @@
+# key: py
+# name: Python source block
+# --
+#+BEGIN_SRC python
+$0
+#+END_SRC
\ No newline at end of file
diff --git a/snippets/org-mode/transaction b/snippets/org-mode/transaction
new file mode 100644
index 000000000000..37f2dd31caff
--- /dev/null
+++ b/snippets/org-mode/transaction
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: transaction
+# key: begin
+# --
+BEGIN;
+$0
+ROLLBACK;
\ No newline at end of file