Add few "org-structure-templates"

This commit is contained in:
Thomas Dehaeze 2020-11-25 18:04:49 +01:00
parent 13241304d3
commit c00db589fe

View File

@ -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