Hoping the question is not too brief, I'm assuming this is a fairly common operation - but I can't seem to find anything in the docs about this.
-
By /everything/ do you mean all subheadings, source blocks, property blocks, logbooks, and archived branches?– JuanchoCommented May 19, 2018 at 11:01
-
2Pressing Shift + tab?– DanielCommented May 19, 2018 at 18:30
-
1Shift tab expands everything in the document.– Chris StryczynskiCommented May 19, 2018 at 20:19
-
I would imagine that the answer in this related thread does what you want and then something extra that you do not want: emacs.stackexchange.com/questions/29304/… Perhaps you can just eliminate the last step that you don't want ...– lawlistCommented May 19, 2018 at 21:16
2 Answers
I was looking for this as well. It took me a while to find since it's not mentioned anywhere in the docs, but it appears that the org-show-subtree
command does exactly what you want.
If you use Doom Emacs, it's bound to z O
.
org-show-subtree
was exactly I was looking for. I just want to add that the command was changed to org-fold-show-subtree
(org-show-subtree
is an obsolete command (as of Org version 9.6); use org-fold-show-subtree
instead)
-
What is that "9.6"? Is that an Org release number or something? If you know, maybe mention it in the answer. (If you don't know, that's fine.) Thx.– DrewCommented Jun 30, 2023 at 12:54
-
9.6 is the Org version, yes, visible in the variable
org-version
. Btw, there's alsoorg-fold-show-branches
, which only shows nested headings, but not text in them—useful for a more compact overview. Alas, Org doesn't appear to have a function for showing headings and text, but with properties kept hidden—which would be helpful for people who slap metadata on everything.– aaaCommented Jun 30, 2023 at 13:33 -
1You can add an after-advice to any such commands using
org-hide-drawer-all
.– NickDCommented Jul 1, 2023 at 14:07 -