silverbullet/plugs/search/search.plug.yaml

36 lines
723 B
YAML
Raw Permalink Normal View History

name: search
functions:
indexPage:
2024-10-11 21:34:27 +08:00
path: search.ts:indexPage
events:
- page:index
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: "🔍 .+"
2024-10-11 21:34:27 +08:00
operation: getFileMeta