From d88fb3194f2a50efa6d407e85d47d14da3700ff3 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 29 Mar 2018 18:10:07 -0400 Subject: Initial commit --- snippets/org-mode/date | 5 +++++ snippets/org-mode/date-time | 5 +++++ snippets/org-mode/nologdone | 5 +++++ snippets/org-mode/source-block | 8 ++++++++ 4 files changed, 23 insertions(+) create mode 100644 snippets/org-mode/date create mode 100644 snippets/org-mode/date-time create mode 100644 snippets/org-mode/nologdone create mode 100644 snippets/org-mode/source-block (limited to 'snippets/org-mode') 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 -- cgit 1.4.1