diff options
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 |