-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evil-ex-search skips matches in folded regions (in org-mode) #16143
Comments
The above issue is similar to this issue I found within doomemacs repo - doomemacs/doomemacs#6478 |
I'm having the same problem. |
This seems to be an issue between org and evil-search as both use different methods for marking folded text. The more modern solution for folding tests is "overlays" therefore we need to force org to use it. We can do this by setting "org-fold-core-style" to "overlays" in the org layer. |
"Overlays" is less modern, not more. After reading what org gains by using its newer folding method, I'd prefer to give up evil-ex-search in return for it. |
Sorry my mistake. Jep then lets go the other way around. After some more reading into the details I would also go with text properties they seem to be less demanding on the CPU when appearing in huge numbers. I hope we do not loose other features by falling back to 'Isearch' though. |
Though text-properties may be a bit faster I think the interoperability between packages is more important therefore I would like to keep the default which is "overlays". Which is working well with evil-ex-search |
Description
When using evil-ex-search-forward (/) in a org file, I should be able to navigate to matches in all regions and navigating to matches in folded regions should unfold the region.
Reproduction guide 🪲
Observed behaviour: 👀 💔
No matches found
Expected behaviour: ❤️ 😄
Evil should find the word within the collapsed section, and navigate to it. (Expand the sections if necessary)
System Info 💻
Backtrace 🐾
N/A
The text was updated successfully, but these errors were encountered: