summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-org.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init/km-org.el b/init/km-org.el
index c8bb3e7..e9b8f5d 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -113,6 +113,17 @@
(global-set-key (kbd "C-c o b") 'org-iswitchb)
(global-set-key (kbd "C-c o m") 'km/open-main-orgfile)
+(defvar km/additional-org-templates
+ '(("t" "#+TITLE: " "")
+ ("d" "#+DATE: " "")
+ ("o" "#+OPTIONS: " "")
+ ("p" "#+PROPERTY: " "")))
+
+(mapcar
+ (lambda (template)
+ (add-to-list 'org-structure-template-alist template))
+ km/additional-org-templates)
+
;; don't let `org-cycle-agenda-files' binding override custom
;; `backward-kill-word' binding (`org-cycle-agenda-files' is still bound
;; to C-,)