From c3875265ccdd1d72f06a16ab1ca725b7cb2ec35b Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 13 Sep 2021 22:49:27 -0700 Subject: Consolidated resources and meta files. --- resources/snippets/org-mode/default | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 resources/snippets/org-mode/default (limited to 'resources/snippets/org-mode/default') diff --git a/resources/snippets/org-mode/default b/resources/snippets/org-mode/default new file mode 100644 index 0000000..f667c69 --- /dev/null +++ b/resources/snippets/org-mode/default @@ -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/${4:`(if (string= system-type "gnu/linux") "gnu-" "ms-:")`}default.setup +#+INCLUDE: ~/.emacs.d/templates/documents/title-default.org + +$0 + + -- cgit v1.2.3