Add ability to downrank some folders in the results (#350)

* add downrankedFoldersFilters to settings

* use downrankedFoldersFilters to downrank some files without excluding them in obsidian, which also prevents tags from being indexed

* change hotkey for toggling excerpts to ctrl-g

* change var to let for proper scoping

* trim folders after splitting them

* only log downranking when we actually do it

* format with Prettier

* make prompt-instruction-command still ctrl g for now
This commit is contained in:
eegrok
2024-03-15 06:36:23 +13:00
committed by GitHub
parent c66c65cdc2
commit 72cb4216c0
3 changed files with 56 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ abstract class OmnisearchModal extends Modal {
})
// Context
this.scope.register(['Ctrl'], 'H', _e => {
this.scope.register(['Ctrl'], 'G', _e => {
eventBus.emit(EventNames.ToggleExcerpts)
})
}