As my org files keep growing, it is getting more complicated to find what I'm looking for. For now I'm using helm-occur
to find strings and helm-org-in-buffer-headings
to find headings in org files. However I want to be able to limit the scope of the search to the current heading including subheadings.
I have found helm-org-parent-headings
, but I couldn't find "helm-org-child-headings".
EDIT
The command org-narrow-to-subtree
mentioned by Tobias is a good solution, however I'm looking for a command that does not change the contents of the org buffer (I still can't figure out how to return to the "original" buffer without killing the buffer created by org-narrow-to-subtree
).
helm-org-parent-headings
displays headings like helm-org-in-buffer-headings
WITHOUT changing the buffer, but as the name suggests it only displays parents.
So what I am looking for is a command that does the opposite and only displays children of the heading in a helm buffer.
Furthermore I want to modify helm-occur
to search only for strings, that belong to children of the heading at point.
org-narrow-to-subtree
.helm-org-parent-headings
.helm-org-parent-headings
does, for which you want something similar.narrow-or-widen-dwim
that Artur Malabarba kindly shared in his blog some time ago: endlessparentheses.com/emacs-narrow-or-widen-dwim.html Narrowing and widening can then be done with one and the same key. Artur Malabarba binds it toC-x n
, but it's easy to change this.