2022-04-26 17:04:36 +00:00
|
|
|
name: core
|
2022-04-11 18:34:09 +00:00
|
|
|
syntax:
|
2022-07-04 09:38:05 +00:00
|
|
|
Hashtag:
|
|
|
|
firstCharacters:
|
|
|
|
- "#"
|
|
|
|
regex: "#[^#\\s]+"
|
|
|
|
styles:
|
|
|
|
color: blue
|
2022-04-12 11:33:07 +00:00
|
|
|
NakedURL:
|
2022-04-11 18:34:09 +00:00
|
|
|
firstCharacters:
|
|
|
|
- "h"
|
|
|
|
regex: "https?:\\/\\/[-a-zA-Z0-9@:%._\\+~#=]{1,256}([-a-zA-Z0-9()@:%_\\+.~#?&=\\/]*)"
|
|
|
|
styles:
|
|
|
|
color: "#0330cb"
|
|
|
|
textDecoration: underline
|
2022-05-13 12:36:26 +00:00
|
|
|
cursor: pointer
|
2022-03-27 09:26:13 +00:00
|
|
|
functions:
|
2022-03-28 13:25:05 +00:00
|
|
|
clearPageIndex:
|
|
|
|
path: "./page.ts:clearPageIndex"
|
|
|
|
env: server
|
|
|
|
events:
|
|
|
|
- page:saved
|
|
|
|
- page:deleted
|
2022-04-19 14:54:47 +00:00
|
|
|
pageQueryProvider:
|
|
|
|
path: ./page.ts:pageQueryProvider
|
|
|
|
events:
|
|
|
|
- query:page
|
2022-04-20 08:56:43 +00:00
|
|
|
parseIndexTextRepublish:
|
|
|
|
path: "./page.ts:parseIndexTextRepublish"
|
|
|
|
events:
|
|
|
|
- page:index_text
|
2022-06-28 12:14:15 +00:00
|
|
|
reindexSpaceCommand:
|
|
|
|
path: "./page.ts:reindexCommand"
|
|
|
|
command:
|
|
|
|
name: "Space: Reindex"
|
|
|
|
reindexSpace:
|
|
|
|
path: "./page.ts:reindexSpace"
|
|
|
|
env: server
|
2022-07-04 09:52:09 +00:00
|
|
|
|
|
|
|
deletePage:
|
|
|
|
path: "./page.ts:deletePage"
|
|
|
|
command:
|
|
|
|
name: "Page: Delete"
|
|
|
|
# Backlinks
|
2022-03-27 09:26:13 +00:00
|
|
|
indexLinks:
|
|
|
|
path: "./page.ts:indexLinks"
|
|
|
|
events:
|
|
|
|
- page:index
|
2022-04-19 14:54:47 +00:00
|
|
|
linkQueryProvider:
|
|
|
|
path: ./page.ts:linkQueryProvider
|
|
|
|
events:
|
|
|
|
- query:link
|
2022-03-27 09:26:13 +00:00
|
|
|
renamePage:
|
|
|
|
path: "./page.ts:renamePage"
|
|
|
|
command:
|
|
|
|
name: "Page: Rename"
|
2022-04-10 09:04:07 +00:00
|
|
|
mac: Cmd-Alt-r
|
|
|
|
key: Ctrl-Alt-r
|
2022-07-04 09:52:09 +00:00
|
|
|
|
2022-03-27 09:26:13 +00:00
|
|
|
pageComplete:
|
2022-03-29 10:13:46 +00:00
|
|
|
path: "./page.ts:pageComplete"
|
2022-04-19 14:54:47 +00:00
|
|
|
events:
|
|
|
|
- page:complete
|
2022-07-04 09:52:09 +00:00
|
|
|
|
|
|
|
# Navigation
|
2022-03-27 09:26:13 +00:00
|
|
|
linkNavigate:
|
|
|
|
path: "./navigate.ts:linkNavigate"
|
|
|
|
command:
|
|
|
|
name: Navigate To page
|
|
|
|
key: Ctrl-Enter
|
|
|
|
mac: Cmd-Enter
|
|
|
|
clickNavigate:
|
|
|
|
path: "./navigate.ts:clickNavigate"
|
|
|
|
events:
|
|
|
|
- page:click
|
2022-07-04 09:52:09 +00:00
|
|
|
navigateHome:
|
|
|
|
path: "./navigate.ts:navigateCommand"
|
|
|
|
command:
|
|
|
|
name: "Navigate: Home"
|
|
|
|
key: "Alt-h"
|
|
|
|
page: "index"
|
2022-06-28 12:14:15 +00:00
|
|
|
|
2022-07-04 09:38:05 +00:00
|
|
|
# Hashtags
|
|
|
|
indexTags:
|
|
|
|
path: "./tags.ts:indexTags"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
tagComplete:
|
|
|
|
path: "./tags.ts:tagComplete"
|
|
|
|
events:
|
|
|
|
- page:complete
|
|
|
|
|
2022-06-28 12:14:15 +00:00
|
|
|
# Full text search
|
|
|
|
searchIndex:
|
|
|
|
path: ./search.ts:index
|
2022-05-11 18:10:45 +00:00
|
|
|
events:
|
2022-06-28 12:14:15 +00:00
|
|
|
- page:index
|
|
|
|
searchUnindex:
|
|
|
|
path: "./search.ts:unindex"
|
|
|
|
env: server
|
|
|
|
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:readPageSearch
|
|
|
|
pageNamespace:
|
|
|
|
pattern: "@search/.+"
|
|
|
|
operation: readPage
|
|
|
|
getPageMetaSearch:
|
|
|
|
path: ./search.ts:getPageMetaSearch
|
|
|
|
pageNamespace:
|
|
|
|
pattern: "@search/.+"
|
|
|
|
operation: getPageMeta
|
|
|
|
|
|
|
|
# Template commands
|
2022-05-06 16:55:04 +00:00
|
|
|
insertPageMeta:
|
|
|
|
path: "./page.ts:insertPageMeta"
|
|
|
|
slashCommand:
|
|
|
|
name: meta
|
|
|
|
quickNoteCommand:
|
|
|
|
path: ./template.ts:quickNoteCommand
|
|
|
|
command:
|
|
|
|
name: "Template: Quick Note"
|
|
|
|
key: "Alt-Shift-n"
|
|
|
|
quickTaskCommand:
|
|
|
|
path: ./template.ts:quickTaskCommand
|
|
|
|
command:
|
|
|
|
name: "Template: Quick Task"
|
|
|
|
key: "Alt-Shift-t"
|
2022-04-13 12:46:52 +00:00
|
|
|
instantiateTemplateCommand:
|
|
|
|
path: ./template.ts:instantiateTemplateCommand
|
|
|
|
command:
|
|
|
|
name: "Template: Instantiate for Page"
|
2022-06-28 12:14:15 +00:00
|
|
|
insertToday:
|
|
|
|
path: "./dates.ts:insertToday"
|
|
|
|
slashCommand:
|
|
|
|
name: today
|
|
|
|
insertTomorrow:
|
|
|
|
path: "./dates.ts:insertTomorrow"
|
|
|
|
slashCommand:
|
|
|
|
name: tomorrow
|
2022-06-23 15:08:42 +00:00
|
|
|
|
2022-06-28 12:14:15 +00:00
|
|
|
# Text editing commands
|
2022-06-23 15:08:42 +00:00
|
|
|
quoteSelection:
|
|
|
|
path: ./text.ts:quoteSelection
|
|
|
|
command:
|
|
|
|
name: "Text: Quote Selection"
|
|
|
|
key: "Ctrl->"
|
|
|
|
mac: "Cmd-Shift-."
|
2022-06-23 15:59:18 +00:00
|
|
|
listifySelection:
|
|
|
|
path: ./text.ts:listifySelection
|
|
|
|
command:
|
|
|
|
name: "Text: Listify Selection"
|
|
|
|
numberListifySelection:
|
|
|
|
path: ./text.ts:numberListifySelection
|
|
|
|
command:
|
|
|
|
name: "Text: Number Listify Selection"
|
2022-06-23 15:08:42 +00:00
|
|
|
bold:
|
|
|
|
path: ./text.ts:boldCommand
|
|
|
|
command:
|
|
|
|
name: "Text: Bold"
|
|
|
|
key: "Ctrl-b"
|
|
|
|
mac: "Cmd-b"
|
|
|
|
italic:
|
|
|
|
path: ./text.ts:italicCommand
|
|
|
|
command:
|
|
|
|
name: "Text: Italic"
|
|
|
|
key: "Ctrl-i"
|
|
|
|
mac: "Cmd-i"
|
2022-06-28 12:14:15 +00:00
|
|
|
|
|
|
|
# Plug manager
|
|
|
|
updatePlugsCommand:
|
|
|
|
path: ./plugmanager.ts:updatePlugsCommand
|
|
|
|
command:
|
|
|
|
name: "Plugs: Update"
|
|
|
|
key: "Ctrl-Shift-p"
|
|
|
|
mac: "Cmd-Shift-p"
|
|
|
|
updatePlugs:
|
|
|
|
path: ./plugmanager.ts:updatePlugs
|
|
|
|
env: server
|
2022-06-29 13:02:53 +00:00
|
|
|
getPlugHTTPS:
|
|
|
|
path: "./plugmanager.ts:getPlugHTTPS"
|
|
|
|
events:
|
|
|
|
- get-plug:https
|
|
|
|
getPlugGithub:
|
|
|
|
path: "./plugmanager.ts:getPlugGithub"
|
|
|
|
events:
|
|
|
|
- get-plug:github
|
2022-06-28 12:14:15 +00:00
|
|
|
|
|
|
|
# Debug commands
|
|
|
|
parseServerCommand:
|
|
|
|
path: ./debug.ts:parseServerPageCommand
|
|
|
|
command:
|
|
|
|
name: "Debug: Parse Document on Server"
|
|
|
|
parsePage:
|
|
|
|
path: ./debug.ts:parsePage
|
|
|
|
parseCommand:
|
|
|
|
path: ./debug.ts:parsePageCommand
|
|
|
|
command:
|
|
|
|
name: "Debug: Parse Document"
|
|
|
|
showLogsCommand:
|
|
|
|
path: ./debug.ts:showLogsCommand
|
|
|
|
command:
|
|
|
|
name: "Debug: Show Logs"
|
|
|
|
key: "Ctrl-Alt-l"
|
|
|
|
mac: "Cmd-Alt-l"
|
|
|
|
events:
|
|
|
|
- log:reload
|
|
|
|
hideBhsCommand:
|
|
|
|
path: ./debug.ts:hideBhsCommand
|
|
|
|
command:
|
|
|
|
name: "UI: Hide BHS"
|
|
|
|
key: "Ctrl-Alt-b"
|
|
|
|
mac: "Cmd-Alt-b"
|