Is there a way to use outline paths or any other way to filter rows at the Link to Row opt+cmd+k modal?
No, that UI only uses fuzzy search…
I guess quite indirectly. When you use Command-P to search the choice box is limited to sidebar content. And your index rows are defined by an outline path that you can modify, but that’s probably not what you were looking for.
My use case is I’m often logging location and people in my daily notes. Link to row is not functional for this as my outline is large with over 1.5M characters.
Do you have any suggestion how I can make this work?
- Journal
- 2028
- June
- June 26, 2026
- Met with [[John Smith]] in [[Berlin]]
- People
- John Smith
- ...
- Locations
- Germany
- Berlin
Been thinking about this. I think answer is definitely yes, but I’m not certain what would be best for your specific case.
Today I think most direct would be to use extension API. Run a fixed search path to generate list of results. Then present those results using the choice box API. That would give you the same filter box UI, but with a limited set of results. It would require a different command/keyshortcut to run your custom extension command.
Future work, I could imagine adding additional syntax, to specify a filtering outline path inline with the filter syntax. We already have that a little with # to filter only headings, or > to filter commands. So maybe / to filter only rows that match?
Alternatives, I think fairly soon I’ll be adding tags support. That would be another way to model this, though I’m not sure if it would be much better.
Also in your example you are using wiki link syntax. You have a large outline, but maybe the issue is that the choice box fuzzy links are too fuzzy for this situation. Would a better solution be that when you type [[ Bike opens a link-to palette that works based on prefix search, instead of fuzzy. That might be the simplest way to link to specific people, places?
