config/doom: remove auto-fold when opening org file

This commit is contained in:
xerus2000 2021-01-23 19:54:30 +01:00
parent b2a2c69279
commit 7a81de779f
1 changed files with 0 additions and 2 deletions

View File

@ -108,8 +108,6 @@
(define-key org-mode-map (kbd "C-c t") 'org-toggle-blocks) (define-key org-mode-map (kbd "C-c t") 'org-toggle-blocks)
(define-key org-mode-map (kbd "C-c .") 'org-time-stamp-inactive) (define-key org-mode-map (kbd "C-c .") 'org-time-stamp-inactive)
(add-hook 'org-mode-hook (apply-partially '+org/close-all-folds 2))
;; https://christiantietze.de/posts/2019/06/org-fold-heading/ ;; https://christiantietze.de/posts/2019/06/org-fold-heading/
(defun ct/org-foldup () (defun ct/org-foldup ()
"Hide the entire subtree from root headline at point." "Hide the entire subtree from root headline at point."