2022-02-24 16:24:49 +00:00
|
|
|
{
|
2022-03-04 11:09:25 +00:00
|
|
|
"hooks": {
|
|
|
|
"commands": {
|
|
|
|
"Navigate To page": {
|
|
|
|
"invoke": "linkNavigate",
|
|
|
|
"key": "Ctrl-Enter",
|
|
|
|
"mac": "Cmd-Enter"
|
|
|
|
},
|
|
|
|
"Insert Current Date": {
|
|
|
|
"invoke": "insertToday",
|
|
|
|
"slashCommand": "today"
|
|
|
|
},
|
|
|
|
"Toggle : Heading 1": {
|
|
|
|
"invoke": "toggle_h1",
|
|
|
|
"mac": "Cmd-1",
|
|
|
|
"key": "Ctrl-1"
|
|
|
|
},
|
|
|
|
"Toggle : Heading 2": {
|
|
|
|
"invoke": "toggle_h2",
|
|
|
|
"mac": "Cmd-2",
|
|
|
|
"key": "Ctrl-2"
|
|
|
|
},
|
|
|
|
"Page: Delete": {
|
|
|
|
"invoke": "deletePage"
|
|
|
|
},
|
|
|
|
"Page: Rename": {
|
|
|
|
"invoke": "renamePage"
|
|
|
|
},
|
|
|
|
"Pages: Reindex": {
|
|
|
|
"invoke": "reindexPages"
|
|
|
|
},
|
|
|
|
"Pages: Back Links": {
|
|
|
|
"invoke": "showBackLinks"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"events": {
|
|
|
|
"page:click": ["taskToggle", "clickNavigate"],
|
|
|
|
"editor:complete": ["pageComplete"],
|
|
|
|
"page:index": ["indexLinks"]
|
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"
|
2022-03-18 13:59:04 +00:00
|
|
|
},
|
|
|
|
"server_test": {
|
|
|
|
"path": "./server.ts:test"
|
2022-02-24 16:24:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|