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

@ -10383,7 +10383,7 @@ Used here: [[#h:877c9401-a354-4e44-a235-db1a90d19e00][General org-mode]]
#+begin_src emacs-lisp
(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
@ -11854,6 +11854,7 @@ It also offers a very useful utility of exporting org-mode buffers to different
(push '("conf-unix" . conf-unix) org-src-lang-modes)
(setq org-export-with-broken-links 'mark)
(setq org-confirm-babel-evaluate nil)
#+end_src

5056
index.html

File diff suppressed because it is too large Load diff

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"))