From 15ef57167afdbcc2679dec8d63221bc6e9969d65 Mon Sep 17 00:00:00 2001 From: James Blair Date: Mon, 9 Jan 2023 07:45:30 +1300 Subject: [PATCH] Tweak org-mode settings to fix annoyances. --- .humacs-custom.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.humacs-custom.el b/.humacs-custom.el index 85acf50..871536e 100644 --- a/.humacs-custom.el +++ b/.humacs-custom.el @@ -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)