config/doom: remove auto-fold when opening org file
This commit is contained in:
parent
b2a2c69279
commit
7a81de779f
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue