summaryrefslogtreecommitdiff
path: root/resources/snippets/org-mode/default
diff options
context:
space:
mode:
Diffstat (limited to 'resources/snippets/org-mode/default')
-rw-r--r--resources/snippets/org-mode/default16
1 files changed, 16 insertions, 0 deletions
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
+
+
Copyright 2019--2024 Marius PETER