Garulf / Obsidian-Notes

Search Obsidian notes
41 stars 4 forks source link

Wish to exclude the ".trash" folder #16

Open zero617 opened 1 year ago

Garulf commented 1 year ago

Could you please share a screenshot of this .trash folder? I don't see this on my end.

zero617 commented 1 year ago

Could you please share a screenshot of this .trash folder? I don't see this on my end.

image image

T1CkShot commented 1 year ago

Option to exclude specific folders inside the vault would be helpful. I use the same folder as my logseq graph and when I search a note it also shows all the files in the logseq folder which holds all the logseq backups and other things.

Garulf commented 1 year ago

Option to exclude specific folders inside the vault would be helpful. I use the same folder as my logseq graph and when I search a note it also shows all the files in the logseq folder which holds all the logseq backups and other things.

Flow Launcher just doesn't have the dynamic settings required to pull this off right now. In the mean time I can add a basic option that disables "hidden files" such as .trash and .git.

laughtingman commented 1 year ago

Being able to exclude all hidden folders from search is a great idea. The .obsidian folder with plugins also contains a lot of unnecessary results.

Sxmourai commented 10 months ago

Simple fix: Go into obsidian.py and change line 63:

if ".obsidian\\plugins" in str(note) or ".trash" in str(note):
  continue