I search Org files with C-s
or isearch-forward
. However, when the match is hidden inside a code block in a child several levels deep, and everything is collapsed, it takes a lot of extra keystrokes to see the match. Can isearch-forward
or Org be configured to expand sections where matches are found?
1 Answer
You can use C-c /
, (org-sparse-tree
) to generate a sparse tree, expanding the tree to display the matches.
search-invisible
, though it'll only work with Isearch if the text is invisible my means of an overlay (not text properties).