From 074c5fe0b1696680e28b5d6ea41236324b1889bd Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Sun, 22 Sep 2024 17:19:06 +0200 Subject: [PATCH] ADD Org mode settings from old config - Enable Super/sub-scripts - Preserve indentation - Org bullets --- config_new.org | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/config_new.org b/config_new.org index 5245488..0774e54 100644 --- a/config_new.org +++ b/config_new.org @@ -620,13 +620,41 @@ https://github.com/remyferre/comment-dwim-2 ) #+END_SRC +* Org + +** General config +*** Super/Sub-scripts + +Use ={}= for subscripting: + +https://orgmode.org/manual/Subscripts-and-superscripts.html + +#+BEGIN_SRC emacs-lisp +(setq org-use-sub-superscripts '{}) +#+END_SRC + +*** Indentation + +Preserve indentation in SRC blocks + +#+BEGIN_SRC emacs-lisp +(setq org-src-preserve-indentation t) +#+END_SRC + +** Org bullets + +#+BEGIN_SRC emacs-lisp +(use-package org-bullets + :config + (add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) +#+END_SRC + * Elisp ** Add demos to describe-function #+BEGIN_SRC emacs-lisp (use-package elisp-demos - :config (advice-add 'describe-function-1 :after #'elisp-demos-advice-describe-function-1) )