1
0
silverbullet/plugs/search/search.plug.yaml

45 lines
917 B
YAML
Raw Normal View History

name: search
functions:
indexPage:
2023-08-26 06:31:51 +00:00
path: search.ts:indexPage
# Only enable in client for now
2023-08-28 15:12:15 +00:00
# env: client
2023-08-26 06:31:51 +00:00
events:
- page:index
clearIndex:
path: search.ts:clearIndex
searchUnindex:
path: "./search.ts:pageUnindex"
2023-08-27 12:13:18 +00:00
env: client
events:
- page:deleted
searchQueryProvider:
path: ./search.ts:queryProvider
events:
- query:full-text
searchCommand:
path: ./search.ts:searchCommand
command:
name: "Search Space"
key: Ctrl-Shift-f
mac: Cmd-Shift-f
readPageSearch:
path: ./search.ts:readFileSearch
pageNamespace:
pattern: "🔍 .+"
operation: readFile
writePageSearch:
path: ./search.ts:writeFileSearch
pageNamespace:
pattern: "🔍 .+"
operation: readFile
getPageMetaSearch:
path: ./search.ts:getFileMetaSearch
pageNamespace:
pattern: "🔍 .+"
operation: getFileMeta