From 96e5bd915f5d363d92aa43d90a763542aa773ddf Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Thu, 10 Jul 2025 00:03:27 +0100 Subject: Enable org babel languages and add elisp structure template shortcut --- emacs-config.org | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/emacs-config.org b/emacs-config.org index 45eec94..6a4b09a 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -179,6 +179,28 @@ Don't display bookmark icon in fringe. (setq-default bookmark-fringe-mark nil) #+end_src +** Org +#+begin_src elisp :noweb yes + (with-eval-after-load 'org + <>) +#+end_src + +*** Org Babel +:PROPERTIES: +:header-args:elisp: :tangle no :noweb-ref org-babel-settings +:END: + +Add new structure template shortcuts when inserting a block. +#+begin_src elisp + (cl-pushnew '("se" . "src elisp") org-structure-template-alist) +#+end_src + +Enable supported org babel languages. +#+begin_src elisp + (dolist (lang '(shell C latex plantuml)) + (cl-pushnew `(,lang . t) org-babel-load-languages)) +#+end_src + * Global Keybindings Unlock previously unusable keybinding. #+begin_src elisp -- cgit