From cb74df4ee3ead247f3da3e148019cf42e5aac79c Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 25 Nov 2020 18:04:49 +0100 Subject: [PATCH] Add few "org-structure-templates" --- doom.org | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/doom.org b/doom.org index daff7c3..f5bbad1 100644 --- a/doom.org +++ b/doom.org @@ -630,15 +630,26 @@ https://emacs.stackexchange.com/questions/3844/good-methods-for-setting-up-alarm ** Org Structure Template #+begin_src emacs-lisp (after! org + (require 'org-tempo) (setq org-structure-template-alist '(("c" . "center") ("C" . "comment") - ("m" . "src matlab\n") - ("l" . "src emacs-lisp\n") - ("i" . "important") - ("e" . "example") + ("mm" . "src matlab") + ("mf" . "src matlab :exports none") + ("mv" . "src matlab :results value replace :exports none :tangle no") + ("l" . "src emacs-lisp") ("q" . "quote") - ("s" . "src"))) + ("s" . "src") + ("ba" . "seealso") + ("bd" . "definition") + ("be" . "exampl") + ("bq" . "question") + ("bs" . "summary") + ("bh" . "hint") + ("bi" . "important") + ("bc" . "caution") + ("bw" . "warning") + )) ) #+end_src