fix: annoyances in org mode

turns off org-buffers autoindenting. It makes the text jump around
while typing which I think is annoying (possibly a buggy interaction
with another package). Also stops the evaluation confirmation for org
source blocks.
This commit is contained in:
Swarsel 2024-12-03 19:00:32 +01:00
parent ce3d75afdd
commit 74a876e6c5
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 3610 additions and 2246 deletions

View file

@ -157,7 +157,7 @@ create a new one."
[C-backspace] #'up-directory)
(defun swarsel/org-mode-setup ()
(org-indent-mode)
;; (org-indent-mode)
(variable-pitch-mode 1)
;;(auto-fill-mode 0)
;; (setq display-line-numbers-type 'relative
@ -1012,6 +1012,7 @@ create a new one."
(push '("conf-unix" . conf-unix) org-src-lang-modes)
(setq org-export-with-broken-links 'mark)
(setq org-confirm-babel-evaluate nil)
(require 'org-tempo)
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))