6

Whenever I open an org file, I want to see only the outline, so I want to have all the headers collapsed. I'm using doom emacs, this is what I have in my config.org file:

(setq org-startup-folded "overview")

I also tried it like this:

(after! org
(setq org-startup-folded "overview"))

Both of these do not work.

When I put this in the org file, it does work:

#+STARTUP: overview

However, I want this setting to be global and not file specific.

1 Answer 1

12

I think the help is a little misleading on this one. You need to set org-startup-folded to t, not "overview":

(setq org-startup-folded t)

Alternatively, you can use the customize-variable interface to do this interactively (i.e., M-x customize-variable org-startup-folded).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.