-
-
Notifications
You must be signed in to change notification settings - Fork 463
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
Fuzzy ROAM_REFS #2428
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief Abstract
Add fuzzy matching to ROAM_REFS
Long Description
Sometimes I want to add automatic backlinks for e.g. an entire domain, such as https://duckduckgo.com so any search query will link to the ddg note. However, it seems like ROAM_REFS only supports exact matches for now.
Proposed Implementation (if any)
Perhaps adding a glob (*) character would work (although at that point org-roam could just support arbitrary regex) but that might be too slow and unintentionally break things for links that happen to have that character in them. A smaller solution can be to add a ROAM_REF_DOMAIN property to let org-roam know that the ref is for the entire domain (although I'm not sure how that would fit into citation refs). To partly resolve the performance and compatibility issues, there could be a property ROAM_REF_USE_REGEX to toggle this feature.
Please check the following:
The text was updated successfully, but these errors were encountered: