diff --git a/src/suggesters/suggestFile.ts b/src/suggesters/suggestFile.ts index 6cf3d5b9..bc6bd1f3 100644 --- a/src/suggesters/suggestFile.ts +++ b/src/suggesters/suggestFile.ts @@ -37,9 +37,10 @@ export class FileSuggest extends AbstractInputSuggest { includeScore: true, shouldSort: true, keys: [ - { name: "path", weight: 2 }, - { name: "tags", weight: 1 }, + { name: "name", weight: 3 }, { name: "frontmatter.aliases", weight: 2 }, + { name: "path", weight: 1 }, + { name: "tags", weight: 1 } ], }); return fuse.search(lower_input_str).map((result) => {