diff options
Diffstat (limited to 'snippets/org-mode/org-doc')
-rw-r--r-- | snippets/org-mode/org-doc | 16 |
1 files changed, 16 insertions, 0 deletions
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 + + |