Open cdaven opened 1 year ago
You can remove search
from the filter, and use +[search[xxx]]
later, see https://github.com/tiddly-gittly/tw-command-palette/blob/404a2f70047311341802d84bb1a54b1c6e47bb70/src/commandpalette/widgets/build-in-sub-plugins/search-filter.ts#L77
I have some suggestions for improvements:
string.replace()
. This is slower, but easier to work with.Personally, I think the search should first match the query by the beginning of words, and after that, look inside words. I have altered my personal CommandPaletteSearchSteps to do that with regular expressions, but I'm not sure this is wanted by default?
I also don't want images in my search results.
This is my current CommandPaletteSearchSteps: