Wikilink [[]] as a search rather than exact direct-linking
Hi, I notice that the behavior of nvUltra that only enables to link a precise entire filename doesn't fit my use and differs from the choices made by another apps.
I use ID in my filenames like "1904291924 — example" and I use links on my IDs [[1904291924]].
It could be interesting to add the possibility to use wikilinks as a input into the search bar to fit this choice ?
Thanks,
Théo
-
We can certainly consider other options in the future, but a link syntax is probably not the best way to go with this. The WikiLink syntax implies that one is linking to a specific document, not searching for a list of documents that match a given search term.
0 -
This is how it's implemented in The Archive, which I'm currently evaluating along with nvUltra. Clicking a wikilink filters the File List (Note List in their terminology) and closes the current file, but if the search finds a "good match" it opens automatically (while keeping the filtered list of files).
A "good match" seems to be any file with a prefix matching the search string, so a note title would definitely be one (thus not changing current behavior in nvUltra). But it also opens up for using ID-prefixes on files and link only through them to prevent links from going stale.
If there are more than one "good match" it opens the first listed. E.g. `[[Note]]` would find both Note A and Note B but open Note B. (Files are listed in reverse alphabetical order, probably since the author uses timestamp as ID-prefixes.)
I like the idea of making links that doesn't break when a note title changes, but I'm still not sure how I feel about their implementation. Not having the title in the link makes it some what context less. I guess also allowing titles after `|` in wikilinks (like in mediawiki) would solve that, e.g. `[[202004251424|link title]]`.
1 -
I'm not sure that I like the idea of coopting the WikiLink syntax for a search instead of a link.
0 -
No, I can definitely understand that.
(It seems to work that way in nvAlt too though.)
1 -
yes, it does work that way in nvAlt. wiki linking should be a bit more fuzzy. I often have multiple similar files where a single specific wikilink would lose context.
0 -
Alternatively you could implement this feature with a nvUltra workaround :
- instead of Wiki-Links you could use an x-url link
"http://<x-nvultra://find?txt=My%20Note> " see also
https://multimarkdown.zendesk.com/hc/en-us/community/posts/360049430293/comments/360014889173this is mimicking the Zettelkasten implementation of "The Archive"
0 - instead of Wiki-Links you could use an x-url link
Please sign in to leave a comment.
Comments
6 comments