config/doom: configure org startup

This commit is contained in:
xerus2000 2021-01-30 21:54:06 +01:00
parent 15a4a35c52
commit 9d8e684bcf
1 changed files with 5 additions and 0 deletions

View File

@ -96,6 +96,11 @@
(setq org-export-with-tags nil) (setq org-export-with-tags nil)
(setq org-export-with-tasks nil) (setq org-export-with-tasks nil)
; Org startup - https://orgmode.org/manual/In_002dbuffer-Settings.html
(setq org-startup-folded t)
(setq org-startup-with-inline-images t)
; (add-hook 'org-mode-hook (apply-partially '+org/close-all-folds 2))
;; org toggle source blocks with C-c t ;; org toggle source blocks with C-c t
(defvar org-blocks-hidden nil) (defvar org-blocks-hidden nil)
(defun org-toggle-blocks () (defun org-toggle-blocks ()