diff options
| author | Blake Romero <blake@blkrom.com> | 2025-07-10 00:03:27 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-07-10 00:06:43 +0100 |
| commit | 96e5bd915f5d363d92aa43d90a763542aa773ddf (patch) | |
| tree | 8b920530787bc32e0ea2b00dc9d43b1da73ab2c5 /emacs-config.org | |
| parent | 946f159113b5dd6fb4fdc38251b99d9424859629 (diff) | |
Enable org babel languages and add elisp structure template shortcut
Diffstat (limited to 'emacs-config.org')
| -rw-r--r-- | emacs-config.org | 22 |
1 files changed, 22 insertions, 0 deletions
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 + <<org-babel-settings>>) +#+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 |
