Tweak org-mode settings to fix annoyances.

This commit is contained in:
2023-01-09 07:45:30 +13:00
parent d9602cb5d2
commit 15ef57167a

View File

@ -15,3 +15,12 @@
(set-face-background 'default "undefined")
(add-hook 'text-mode-hook 'visual-line-mode)
(add-hook 'org-mode-hook 'org-indent-mode)
;; Prevent undo tree files from polluting your git repo
(setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo")))
;; Fix annoying indentation with shell script src blocks in org-mode
(setq org-edit-src-content-indentation 0)
;; Change indentation of org-mode headline tags to left
(setq org-tags-column 0)