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:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user