diff options
author | Marius Peter <marius.peter@tutanota.com> | 2021-09-25 18:43:31 -0700 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2021-09-25 18:43:31 -0700 |
commit | 7cb515ffb7fdcae8edc1f9bd676fe9146858de92 (patch) | |
tree | 87a0421fd8af4c352a1da3a149a2e92e1f52193e /resources | |
parent | bdb034d77acda5cd4c077ab650fe111a29136cdb (diff) |
Refined default snippet
Diffstat (limited to 'resources')
-rw-r--r-- | resources/snippets/org-mode/default | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/resources/snippets/org-mode/default b/resources/snippets/org-mode/default index f667c69..6d13b23 100644 --- a/resources/snippets/org-mode/default +++ b/resources/snippets/org-mode/default @@ -4,13 +4,14 @@ # -- # -*- 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)))`} +#+TITLE: ${Default Title} +#+AUTHOR: ${`(if (eq user-full-name "") "Default Author" user-full-name)`} +#+DATE: ${`(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 +#+SETUPFILE: ${`sd-path-templates`}documents/${`(if (string= system-type "gnu/linux") "gnu-" "ms-")`}default.setup +#+INCLUDE: ${`sd-path-templates`}documents/${title-default}.org -$0 +* ${Default first heading} +${Default body}
\ No newline at end of file |