From 373972407d8200d94731e5bc1f515d3b18c81648 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Tue, 3 Nov 2020 18:54:35 -0800 Subject: yasnippets --- snippets/org-mode/org-doc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 snippets/org-mode/org-doc (limited to 'snippets/org-mode/org-doc') diff --git a/snippets/org-mode/org-doc b/snippets/org-mode/org-doc new file mode 100644 index 0000000..ce19410 --- /dev/null +++ b/snippets/org-mode/org-doc @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: default +# key: $default +# -- +# -*- mode: org; -*- + +#+TITLE: ${1:Default Title} +#+AUTHOR: ${2:`(if (eq user-full-name "") "Default Author" user-full-name)`} +#+DATE: ${3:`(with-temp-buffer (org-insert-time-stamp (current-time)))`} + +#+SETUPFILE: ~/.emacs.d/templates/documents/default.org +#+INCLUDE: ~/.emacs.d/templates/documents/default.org_title + +$0 + + -- cgit v1.2.3