1
0
silverbullet/plugs/core/core.plug.json

79 lines
1.6 KiB
JSON
Raw Normal View History

2022-02-24 16:24:49 +00:00
{
"commands": {
"Navigate To page": {
2022-02-27 09:17:43 +00:00
"invoke": "linkNavigate",
2022-02-24 16:24:49 +00:00
"key": "Ctrl-Enter",
2022-02-26 12:26:31 +00:00
"mac": "Cmd-Enter"
2022-02-24 16:24:49 +00:00
},
"Insert Current Date": {
2022-02-26 16:50:50 +00:00
"invoke": "insertToday",
"slashCommand": "/today"
2022-02-24 16:24:49 +00:00
},
"Toggle : Heading 1": {
"invoke": "toggle_h1",
"mac": "Cmd-1",
"key": "Ctrl-1"
},
"Toggle : Heading 2": {
"invoke": "toggle_h2",
"mac": "Cmd-2",
"key": "Ctrl-2"
2022-02-28 13:35:51 +00:00
},
"Page: Delete": {
"invoke": "deletePage"
},
"Page: Rename": {
"invoke": "renamePage"
},
"Pages: Reindex": {
"invoke": "reindexPages"
},
"Pages: Back Links": {
"invoke": "showBackLinks"
2022-02-24 16:24:49 +00:00
}
},
2022-02-26 11:59:16 +00:00
"events": {
2022-02-27 09:17:43 +00:00
"page:click": ["taskToggle", "clickNavigate"],
2022-02-28 13:35:51 +00:00
"editor:complete": ["pageComplete"],
"page:index": ["indexLinks"]
2022-02-26 11:59:16 +00:00
},
2022-02-24 16:24:49 +00:00
"functions": {
2022-02-28 13:35:51 +00:00
"indexLinks": {
"path": "./page.ts:indexLinks"
},
"deletePage": {
"path": "./page.ts:deletePage"
},
"showBackLinks": {
"path": "./page.ts:showBackLinks"
},
"renamePage": {
"path": "./page.ts:renamePage"
},
"reindexPages": {
"path": "./page.ts:reindex"
},
2022-02-27 09:17:43 +00:00
"pageComplete": {
"path": "./navigate.ts:pageComplete"
},
2022-02-26 16:50:50 +00:00
"linkNavigate": {
"path": "./navigate.ts:linkNavigate"
2022-02-26 11:59:16 +00:00
},
2022-02-26 16:50:50 +00:00
"clickNavigate": {
"path": "./navigate.ts:clickNavigate"
},
"taskToggle": {
"path": "./task.ts:taskToggle"
2022-02-26 12:26:31 +00:00
},
2022-02-26 16:50:50 +00:00
"insertToday": {
2022-02-24 16:24:49 +00:00
"path": "./dates.ts:insertToday"
},
"toggle_h1": {
"path": "./markup.ts:toggleH1"
},
"toggle_h2": {
"path": "./markup.ts:toggleH2"
}
}
}