Add few "org-structure-templates"

This commit is contained in:
Thomas Dehaeze 2020-11-25 18:04:49 +01:00
parent ac7b4b8d36
commit cb74df4ee3

View File

@ -630,15 +630,26 @@ https://emacs.stackexchange.com/questions/3844/good-methods-for-setting-up-alarm
** Org Structure Template ** Org Structure Template
#+begin_src emacs-lisp #+begin_src emacs-lisp
(after! org (after! org
(require 'org-tempo)
(setq org-structure-template-alist (setq org-structure-template-alist
'(("c" . "center") '(("c" . "center")
("C" . "comment") ("C" . "comment")
("m" . "src matlab\n") ("mm" . "src matlab")
("l" . "src emacs-lisp\n") ("mf" . "src matlab :exports none")
("i" . "important") ("mv" . "src matlab :results value replace :exports none :tangle no")
("e" . "example") ("l" . "src emacs-lisp")
("q" . "quote") ("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 #+end_src