obsidian-omnisearch
obsidian-omnisearch copied to clipboard
[Feature Request] Improve jump to line when multiple words in the query
it jump to file with last view position instead of matching line, which is quite inconvenient.
It works for me, could you record an example please? The cursor should be set at the start of the matching line.
sorry, I have ignore some details
I search git checkout
, and jump to git
relative match line (so I report this issue), but if I quote "git checkout"
, it jump to git checkout
match line
but maybe search result could improve (that is, without "quote", and it should show git checkout
relative line first)
btw, thank you for developing this great plugin!! is there any way I can buy you a coffee / sponsor ?
but maybe search result could improve (that is, without "quote", and it should show git checkout relative line first)
Not a bad idea. The in-file search & matches need to be refactored anyway, so I'll keep this issue open 👍
is there any way I can buy you a coffee / sponsor ?
Thanks, but i don't have any donation link (yet?) :D
great, thx!
a similar issue is that, if I have a file named foo-code
, if I search foocode
, I won't able to find foo-code.md
file, I have to search foo code
instead. but in default switcher, you can just search foocode
fully match keyword
should be list first, for example, debug.md
should be first of candidate instead of cpp-debug
Omnisearch is not Quick Switcher, nor does it try to emulate its behavior; the results are sorted by their score. The note's filename is not the only variable taken into account.
I see the note cpp-debug.md has the word "debug" in a first-level header, which is probably why it ranks higher than gdb-debug.md or debug.md.
ok, but in my case, I use omnisearch to replace quick switcher, since omnisearch is very handy lol
I get that, and I do the same, that's why I developed Omnisearch :) But the point is that those 2 plugins work differently, so it's expected that their results are not in the same order. Otherwise, what would be the point? ^^
This should be more or less done with the release 1.7.4
I'm keeping this open as a reminder because I'd like to try more possible improvements