I need exactly this. There was a similar request here I have a couple of folders that I keep in my main vault for linking purposes, but don’t want them gumming up search and quick switcher (daily notes as a scratch pad for ideas and a work folder for all work related things). I’d love to exclude them from search when at all possible UNLESS I decide that I’d like to search them. Manually changing the settings to include them is tedious and time consuming. I’m going to try the workaround of keeping the folders excluded, but using the plugin omnisearch when I need to drill into these folders, but I don’t like having to use two different search tools.
1 Like