Is there a way to fold a region in org-mode? (Not the whole file, and not an individual item, but a region containing multiple items.)
Often I want to collapse only a portion of an org
file, say folding:
* a
** a1
** a2
* b
** b1
** b2
** b3
* c
** c1
** c2
* d
** d1
** d2
into
* a
** a1
** a2
* b ...
* c ...
* d
** d1
** d2
I know in this particular example I could simply fold the whole file using org-cycle
, then expand a
and d
individually, but imagine there are hundreds of items and I want to fold a dozen contiguous items contained in an active region while leaving the rest of the items in the file expanded.
C-tab
functionality? Usingshift-tab
cycles the entire file, butC-tab
folds a particular tree. – GJStein Jul 12 '15 at 19:43