diff options
author | Blendoit <blendoit@gmail.com> | 2020-11-03 18:54:35 -0800 |
---|---|---|
committer | Blendoit <blendoit@gmail.com> | 2020-11-03 18:54:35 -0800 |
commit | 373972407d8200d94731e5bc1f515d3b18c81648 (patch) | |
tree | d11d26c94e346c84cbcf9fced9e6acc1cb23946e /snippets/org-mode/org-doc | |
parent | 456bf4870579613c4ff26284ff0d8005a5954499 (diff) |
yasnippets
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 + + |