2022-04-26 17:04:36 +00:00
|
|
|
name: core
|
2023-05-23 18:53:53 +00:00
|
|
|
requiredPermissions:
|
|
|
|
- fetch
|
2022-04-11 18:34:09 +00:00
|
|
|
syntax:
|
2022-07-04 09:38:05 +00:00
|
|
|
Hashtag:
|
|
|
|
firstCharacters:
|
|
|
|
- "#"
|
2023-01-13 15:33:36 +00:00
|
|
|
regex: "#[^#\\d\\s\\[\\]]+\\w+"
|
2022-08-29 14:16:55 +00:00
|
|
|
className: sb-hashtag
|
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()@:%_\\+.~#?&=\\/]*)"
|
2022-08-29 14:16:55 +00:00
|
|
|
className: sb-naked-url
|
2022-08-30 08:44:20 +00:00
|
|
|
NamedAnchor:
|
|
|
|
firstCharacters:
|
2022-10-24 17:40:52 +00:00
|
|
|
- "$"
|
|
|
|
regex: "\\$[a-zA-Z\\.\\-\\/]+[\\w\\.\\-\\/]*"
|
2022-08-30 08:44:20 +00:00
|
|
|
className: sb-named-anchor
|
2022-03-27 09:26:13 +00:00
|
|
|
functions:
|
2022-12-16 11:44:04 +00:00
|
|
|
setEditorMode:
|
|
|
|
path: "./editor.ts:setEditorMode"
|
|
|
|
events:
|
2023-01-05 14:37:08 +00:00
|
|
|
- editor:init
|
2022-12-21 13:55:24 +00:00
|
|
|
toggleDarkMode:
|
|
|
|
path: "./editor.ts:toggleDarkMode"
|
|
|
|
command:
|
|
|
|
name: "Editor: Toggle Dark Mode"
|
2023-07-24 09:27:46 +00:00
|
|
|
centerCursor:
|
|
|
|
path: "./editor.ts:centerCursorCommand"
|
|
|
|
command:
|
|
|
|
name: "Editor: Center Cursor"
|
|
|
|
key: "Ctrl-Alt-l"
|
2023-07-27 15:02:53 +00:00
|
|
|
moveToPos:
|
|
|
|
path: "./editor.ts:moveToPosCommand"
|
|
|
|
command:
|
|
|
|
name: "Editor: Move Cursor to Position"
|
2022-03-28 13:25:05 +00:00
|
|
|
clearPageIndex:
|
|
|
|
path: "./page.ts:clearPageIndex"
|
|
|
|
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"
|
2023-08-04 16:56:55 +00:00
|
|
|
reindexSpace:
|
|
|
|
path: "./page.ts:reindexSpace"
|
2022-07-04 09:52:09 +00:00
|
|
|
deletePage:
|
|
|
|
path: "./page.ts:deletePage"
|
|
|
|
command:
|
|
|
|
name: "Page: Delete"
|
2023-06-14 07:20:15 +00:00
|
|
|
copyPage:
|
|
|
|
path: "./page.ts:copyPage"
|
|
|
|
command:
|
|
|
|
name: "Page: Copy"
|
2022-09-16 12:26:47 +00:00
|
|
|
|
2023-07-02 09:25:32 +00:00
|
|
|
syncSpaceCommand:
|
|
|
|
path: "./sync.ts:syncSpaceCommand"
|
|
|
|
command:
|
|
|
|
name: "Sync: Now"
|
|
|
|
key: "Alt-Shift-s"
|
|
|
|
mac: "Cmd-Shift-s"
|
|
|
|
|
2022-12-28 07:51:55 +00:00
|
|
|
# Attachments
|
|
|
|
attachmentQueryProvider:
|
|
|
|
path: ./attachment.ts:attachmentQueryProvider
|
|
|
|
events:
|
|
|
|
- query:attachment
|
|
|
|
|
2022-07-04 09:52:09 +00:00
|
|
|
# Backlinks
|
2022-03-27 09:26:13 +00:00
|
|
|
indexLinks:
|
2023-07-28 13:20:56 +00:00
|
|
|
path: "./page_links.ts:indexLinks"
|
2022-03-27 09:26:13 +00:00
|
|
|
events:
|
|
|
|
- page:index
|
2022-04-19 14:54:47 +00:00
|
|
|
linkQueryProvider:
|
2023-07-28 13:20:56 +00:00
|
|
|
path: ./page_links.ts:linkQueryProvider
|
2022-04-19 14:54:47 +00:00
|
|
|
events:
|
|
|
|
- query:link
|
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:
|
2022-12-21 13:55:24 +00:00
|
|
|
- editor:complete
|
2022-07-04 09:52:09 +00:00
|
|
|
|
2023-08-01 19:35:19 +00:00
|
|
|
attributeComplete:
|
|
|
|
path: "./attributes.ts:attributeComplete"
|
|
|
|
events:
|
|
|
|
- editor:complete
|
|
|
|
|
2023-08-08 14:35:46 +00:00
|
|
|
customAttributeCompleter:
|
|
|
|
path: ./attributes.ts:customAttributeCompleter
|
|
|
|
events:
|
|
|
|
- attribute:complete:page
|
|
|
|
- attribute:complete:task
|
|
|
|
- attribute:complete:item
|
|
|
|
- attribute:complete:*
|
|
|
|
|
|
|
|
builtinAttributeCompleter:
|
|
|
|
path: ./attributes.ts:builtinAttributeCompleter
|
|
|
|
events:
|
|
|
|
- attribute:complete:page
|
|
|
|
- attribute:complete:task
|
|
|
|
- attribute:complete:item
|
|
|
|
- attribute:complete:*
|
|
|
|
|
2022-09-06 12:36:06 +00:00
|
|
|
# Commands
|
|
|
|
commandComplete:
|
|
|
|
path: "./command.ts:commandComplete"
|
|
|
|
events:
|
2022-12-21 13:55:24 +00:00
|
|
|
- editor:complete
|
2022-09-06 12:36:06 +00:00
|
|
|
|
2022-07-08 07:50:26 +00:00
|
|
|
# Item indexing
|
|
|
|
indexItem:
|
|
|
|
path: "./item.ts:indexItems"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
itemQueryProvider:
|
|
|
|
path: "./item.ts:queryProvider"
|
|
|
|
events:
|
|
|
|
- query:item
|
|
|
|
|
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"
|
2022-08-02 10:43:39 +00:00
|
|
|
page: ""
|
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:
|
2022-12-21 13:55:24 +00:00
|
|
|
- editor:complete
|
2022-07-04 13:43:34 +00:00
|
|
|
tagProvider:
|
|
|
|
path: "./tags.ts:tagProvider"
|
|
|
|
events:
|
|
|
|
- query:tag
|
2022-07-04 09:38:05 +00:00
|
|
|
|
2022-08-30 08:44:20 +00:00
|
|
|
# Anchors
|
|
|
|
indexAnchors:
|
|
|
|
path: "./anchor.ts:indexAnchors"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
anchorComplete:
|
|
|
|
path: "./anchor.ts:anchorComplete"
|
|
|
|
events:
|
2022-12-21 13:55:24 +00:00
|
|
|
- editor:complete
|
2023-05-23 18:53:53 +00:00
|
|
|
|
2022-06-28 12:14:15 +00:00
|
|
|
# Template commands
|
2022-10-28 14:17:40 +00:00
|
|
|
insertTemplateText:
|
2022-07-04 13:07:27 +00:00
|
|
|
path: "./template.ts:insertTemplateText"
|
2022-11-18 15:04:37 +00:00
|
|
|
applyLineReplace:
|
|
|
|
path: ./template.ts:applyLineReplace
|
2022-10-28 14:17:40 +00:00
|
|
|
insertFrontMatter:
|
|
|
|
redirect: insertTemplateText
|
2022-05-06 16:55:04 +00:00
|
|
|
slashCommand:
|
2022-10-17 13:48:21 +00:00
|
|
|
name: front-matter
|
|
|
|
description: Insert page front matter
|
2022-07-04 13:07:27 +00:00
|
|
|
value: |
|
2022-10-17 13:48:21 +00:00
|
|
|
---
|
2022-07-04 13:07:27 +00:00
|
|
|
|^|
|
2022-10-17 13:48:21 +00:00
|
|
|
---
|
2022-11-18 15:04:37 +00:00
|
|
|
makeH1:
|
|
|
|
redirect: applyLineReplace
|
|
|
|
slashCommand:
|
|
|
|
name: h1
|
|
|
|
description: Turn line into h1 header
|
|
|
|
match: "^#*\\s*"
|
|
|
|
replace: "# "
|
|
|
|
makeH2:
|
|
|
|
redirect: applyLineReplace
|
2022-07-04 13:07:27 +00:00
|
|
|
slashCommand:
|
2022-11-18 15:04:37 +00:00
|
|
|
name: h2
|
|
|
|
description: Turn line into h2 header
|
|
|
|
match: "^#*\\s*"
|
|
|
|
replace: "## "
|
|
|
|
makeH3:
|
|
|
|
redirect: applyLineReplace
|
|
|
|
slashCommand:
|
|
|
|
name: h3
|
|
|
|
description: Turn line into h3 header
|
|
|
|
match: "^#*\\s*"
|
|
|
|
replace: "### "
|
|
|
|
makeH4:
|
|
|
|
redirect: applyLineReplace
|
|
|
|
slashCommand:
|
|
|
|
name: h4
|
|
|
|
description: Turn line into h4 header
|
|
|
|
match: "^#*\\s*"
|
|
|
|
replace: "#### "
|
2023-07-02 09:25:32 +00:00
|
|
|
insertCodeBlock:
|
|
|
|
redirect: insertTemplateText
|
|
|
|
slashCommand:
|
|
|
|
name: code
|
|
|
|
description: Insert code block
|
|
|
|
value: |
|
|
|
|
```
|
|
|
|
|^|
|
|
|
|
```
|
2022-11-18 15:04:37 +00:00
|
|
|
|
|
|
|
newPage:
|
|
|
|
path: ./page.ts:newPageCommand
|
|
|
|
command:
|
|
|
|
name: "Page: New"
|
|
|
|
key: "Alt-Shift-n"
|
|
|
|
|
2022-08-09 13:37:47 +00:00
|
|
|
insertHRTemplate:
|
2022-10-28 14:17:40 +00:00
|
|
|
redirect: insertTemplateText
|
2022-08-09 13:37:47 +00:00
|
|
|
slashCommand:
|
|
|
|
name: hr
|
|
|
|
description: Insert a horizontal rule
|
|
|
|
value: "---"
|
2022-11-18 15:04:37 +00:00
|
|
|
insertTable:
|
|
|
|
redirect: insertTemplateText
|
|
|
|
slashCommand:
|
|
|
|
name: table
|
|
|
|
description: Insert a table
|
|
|
|
boost: -1 # Low boost because it's likely not very commonly used
|
|
|
|
value: |
|
|
|
|
| Header A | Header B |
|
|
|
|
|----------|----------|
|
|
|
|
| Cell A|^| | Cell B |
|
2022-05-06 16:55:04 +00:00
|
|
|
quickNoteCommand:
|
|
|
|
path: ./template.ts:quickNoteCommand
|
|
|
|
command:
|
2022-07-06 10:18:33 +00:00
|
|
|
name: "Quick Note"
|
2022-05-06 16:55:04 +00:00
|
|
|
key: "Alt-Shift-n"
|
2022-07-06 10:18:33 +00:00
|
|
|
priority: 1
|
|
|
|
dailyNoteCommand:
|
|
|
|
path: ./template.ts:dailyNoteCommand
|
|
|
|
command:
|
|
|
|
name: "Open Daily Note"
|
|
|
|
key: "Alt-Shift-d"
|
2022-11-02 08:06:30 +00:00
|
|
|
weeklyNoteCommand:
|
|
|
|
path: ./template.ts:weeklyNoteCommand
|
|
|
|
command:
|
|
|
|
name: "Open Weekly Note"
|
|
|
|
key: "Alt-Shift-w"
|
2022-07-04 13:07:27 +00:00
|
|
|
|
2022-04-13 12:46:52 +00:00
|
|
|
instantiateTemplateCommand:
|
|
|
|
path: ./template.ts:instantiateTemplateCommand
|
|
|
|
command:
|
2022-07-04 13:07:27 +00:00
|
|
|
name: "Template: Instantiate Page"
|
|
|
|
insertSnippet:
|
|
|
|
path: ./template.ts:insertSnippet
|
|
|
|
command:
|
|
|
|
name: "Template: Insert Snippet"
|
|
|
|
slashCommand:
|
|
|
|
name: snippet
|
|
|
|
description: Insert a snippet
|
2023-08-09 08:55:35 +00:00
|
|
|
applyPageTemplateCommand:
|
|
|
|
path: ./template.ts:applyPageTemplateCommand
|
|
|
|
slashCommand:
|
|
|
|
name: page-template
|
|
|
|
description: Apply a page template
|
2022-07-04 13:07:27 +00:00
|
|
|
insertTodayCommand:
|
|
|
|
path: "./template.ts:insertTemplateText"
|
2022-06-28 12:14:15 +00:00
|
|
|
slashCommand:
|
|
|
|
name: today
|
2022-07-04 13:07:27 +00:00
|
|
|
description: Insert today's date
|
|
|
|
value: "{{today}}"
|
|
|
|
insertTomorrowCommand:
|
|
|
|
path: "./template.ts:insertTemplateText"
|
2022-06-28 12:14:15 +00:00
|
|
|
slashCommand:
|
|
|
|
name: tomorrow
|
2022-07-04 13:07:27 +00:00
|
|
|
description: Insert tomorrow's date
|
|
|
|
value: "{{tomorrow}}"
|
2022-06-23 15:08:42 +00:00
|
|
|
|
2022-06-28 12:14:15 +00:00
|
|
|
# Text editing commands
|
2022-07-04 13:07:27 +00:00
|
|
|
quoteSelectionCommand:
|
2022-06-23 15:08:42 +00:00
|
|
|
path: ./text.ts:quoteSelection
|
|
|
|
command:
|
|
|
|
name: "Text: Quote Selection"
|
2022-07-04 13:51:04 +00:00
|
|
|
key: "Ctrl-Shift-."
|
2022-06-23 15:08:42 +00:00
|
|
|
mac: "Cmd-Shift-."
|
2022-06-23 15:59:18 +00:00
|
|
|
listifySelection:
|
|
|
|
path: ./text.ts:listifySelection
|
|
|
|
command:
|
|
|
|
name: "Text: Listify Selection"
|
2023-01-06 17:47:08 +00:00
|
|
|
key: "Ctrl-Shift-8"
|
|
|
|
mac: "Cmd-Shift-8"
|
2022-06-23 15:59:18 +00:00
|
|
|
numberListifySelection:
|
|
|
|
path: ./text.ts:numberListifySelection
|
|
|
|
command:
|
|
|
|
name: "Text: Number Listify Selection"
|
2022-07-10 15:51:34 +00:00
|
|
|
linkSelection:
|
|
|
|
path: ./text.ts:linkSelection
|
|
|
|
command:
|
|
|
|
name: "Text: Link Selection"
|
|
|
|
key: "Ctrl-Shift-k"
|
|
|
|
mac: "Cmd-Shift-k"
|
2022-06-23 15:08:42 +00:00
|
|
|
bold:
|
2022-07-04 13:07:27 +00:00
|
|
|
path: ./text.ts:wrapSelection
|
2022-06-23 15:08:42 +00:00
|
|
|
command:
|
|
|
|
name: "Text: Bold"
|
|
|
|
key: "Ctrl-b"
|
|
|
|
mac: "Cmd-b"
|
2022-07-04 13:07:27 +00:00
|
|
|
wrapper: "**"
|
2022-06-23 15:08:42 +00:00
|
|
|
italic:
|
2022-07-04 13:07:27 +00:00
|
|
|
path: ./text.ts:wrapSelection
|
2022-06-23 15:08:42 +00:00
|
|
|
command:
|
|
|
|
name: "Text: Italic"
|
|
|
|
key: "Ctrl-i"
|
|
|
|
mac: "Cmd-i"
|
2022-07-04 13:07:27 +00:00
|
|
|
wrapper: "_"
|
2022-12-27 09:49:16 +00:00
|
|
|
strikethrough:
|
|
|
|
path: ./text.ts:wrapSelection
|
|
|
|
command:
|
|
|
|
name: "Text: Strikethrough"
|
|
|
|
key: "Ctrl-Shift-s"
|
|
|
|
mac: "Cmd-Shift-s"
|
|
|
|
wrapper: "~~"
|
2022-07-04 13:07:27 +00:00
|
|
|
marker:
|
|
|
|
path: ./text.ts:wrapSelection
|
|
|
|
command:
|
|
|
|
name: "Text: Marker"
|
|
|
|
key: "Alt-m"
|
|
|
|
wrapper: "=="
|
2022-06-28 12:14:15 +00:00
|
|
|
|
2023-01-05 14:37:08 +00:00
|
|
|
# Refactoring Commands
|
|
|
|
extractToPageCommand:
|
2023-07-28 13:20:56 +00:00
|
|
|
path: ./refactor.ts:extractToPageCommand
|
2023-01-05 14:37:08 +00:00
|
|
|
command:
|
2023-08-01 19:35:19 +00:00
|
|
|
name: "Page: Extract"
|
2023-07-28 13:20:56 +00:00
|
|
|
renamePageCommand:
|
|
|
|
path: "./refactor.ts:renamePageCommand"
|
|
|
|
command:
|
|
|
|
name: "Page: Rename"
|
|
|
|
mac: Cmd-Alt-r
|
|
|
|
key: Ctrl-Alt-r
|
|
|
|
page: ""
|
|
|
|
renamePrefixCommand:
|
|
|
|
path: "./refactor.ts:renamePrefixCommand"
|
|
|
|
command:
|
2023-08-01 19:35:19 +00:00
|
|
|
name: "Page: Batch Rename Prefix"
|
2023-01-05 14:37:08 +00:00
|
|
|
|
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"
|
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-07-23 18:57:59 +00:00
|
|
|
getPlugGithubRelease:
|
|
|
|
path: "./plugmanager.ts:getPlugGithubRelease"
|
|
|
|
events:
|
|
|
|
- get-plug:ghr
|
2022-11-20 09:56:52 +00:00
|
|
|
addPlugCommand:
|
|
|
|
path: ./plugmanager.ts:addPlugCommand
|
|
|
|
command:
|
|
|
|
name: "Plugs: Add"
|
|
|
|
|
2022-06-28 12:14:15 +00:00
|
|
|
# Debug commands
|
|
|
|
parseCommand:
|
|
|
|
path: ./debug.ts:parsePageCommand
|
|
|
|
command:
|
|
|
|
name: "Debug: Parse Document"
|
2022-07-30 11:39:40 +00:00
|
|
|
|
2023-07-26 09:22:10 +00:00
|
|
|
reloadUICommand:
|
|
|
|
path: ./debug.ts:reloadUICommand
|
|
|
|
command:
|
|
|
|
name: "Debug: Reload UI"
|
|
|
|
|
2023-07-14 10:15:10 +00:00
|
|
|
resetClientCommand:
|
|
|
|
path: ./debug.ts:resetClientCommand
|
|
|
|
command:
|
|
|
|
name: "Debug: Reset Client"
|
|
|
|
|
2023-05-26 14:37:32 +00:00
|
|
|
versionCommand:
|
|
|
|
path: ./help.ts:versionCommand
|
|
|
|
command:
|
|
|
|
name: "Help: Version"
|
|
|
|
gettingStartedCommand:
|
|
|
|
path: ./help.ts:gettingStartedCommand
|
|
|
|
command:
|
|
|
|
name: "Help: Getting Started"
|
|
|
|
|
2023-06-13 18:47:05 +00:00
|
|
|
accountLogoutCommand:
|
|
|
|
path: ./account.ts:accountLogoutCommand
|
|
|
|
command:
|
|
|
|
name: "Account: Logout"
|
|
|
|
|
2022-07-30 11:39:40 +00:00
|
|
|
# Link unfurl infrastructure
|
|
|
|
unfurlLink:
|
|
|
|
path: ./link.ts:unfurlCommand
|
|
|
|
command:
|
|
|
|
name: "Link: Unfurl"
|
|
|
|
key: "Ctrl-Shift-u"
|
|
|
|
mac: "Cmd-Shift-u"
|
|
|
|
contexts:
|
|
|
|
- NakedURL
|
|
|
|
|
|
|
|
# Title-based link unfurl
|
|
|
|
titleUnfurlOptions:
|
|
|
|
path: ./link.ts:titleUnfurlOptions
|
|
|
|
events:
|
|
|
|
- unfurl:options
|
|
|
|
titleUnfurl:
|
|
|
|
path: ./link.ts:titleUnfurl
|
|
|
|
events:
|
|
|
|
- unfurl:title-unfurl
|
2022-08-01 09:04:48 +00:00
|
|
|
|
2023-01-21 12:37:55 +00:00
|
|
|
embedWidget:
|
|
|
|
path: ./embed.ts:embedWidget
|
|
|
|
codeWidget: embed
|
|
|
|
|
2023-06-14 17:27:18 +00:00
|
|
|
# Folding commands
|
|
|
|
foldCommand:
|
|
|
|
path: ./editor.ts:foldCommand
|
|
|
|
command:
|
|
|
|
name: "Fold: Fold"
|
|
|
|
mac: "Cmd-Alt-["
|
|
|
|
key: "Ctrl-Shift-["
|
|
|
|
unfoldCommand:
|
|
|
|
path: ./editor.ts:unfoldCommand
|
|
|
|
command:
|
|
|
|
name: "Fold: Unfold"
|
|
|
|
mac: "Cmd-Alt-]"
|
|
|
|
key: "Ctrl-Shift-]"
|
2023-06-17 07:01:32 +00:00
|
|
|
toggleFoldCommand:
|
|
|
|
path: ./editor.ts:toggleFoldCommand
|
|
|
|
command:
|
|
|
|
name: "Fold: Toggle Fold"
|
|
|
|
mac: "Cmd-Alt-f"
|
2023-07-02 09:48:52 +00:00
|
|
|
key: "Ctrl-Alt-f"
|
2023-06-14 17:27:18 +00:00
|
|
|
foldAllCommand:
|
|
|
|
path: ./editor.ts:foldAllCommand
|
|
|
|
command:
|
|
|
|
name: "Fold: Fold All"
|
|
|
|
key: "Ctrl-Alt-["
|
|
|
|
unfoldAllCommand:
|
|
|
|
path: ./editor.ts:unfoldAllCommand
|
|
|
|
command:
|
|
|
|
name: "Fold: Unfold All"
|
|
|
|
key: "Ctrl-Alt-]"
|
|
|
|
|
2022-08-01 09:04:48 +00:00
|
|
|
# Random stuff
|
|
|
|
statsCommand:
|
|
|
|
path: ./stats.ts:statsCommand
|
|
|
|
command:
|
|
|
|
name: "Stats: Show"
|
2022-09-02 13:41:40 +00:00
|
|
|
|
|
|
|
# Cloud pages
|
|
|
|
readPageCloud:
|
2022-09-12 12:50:37 +00:00
|
|
|
path: ./cloud.ts:readFileCloud
|
2022-09-02 13:41:40 +00:00
|
|
|
pageNamespace:
|
|
|
|
pattern: "💭 .+"
|
2022-09-12 12:50:37 +00:00
|
|
|
operation: readFile
|
2023-05-23 18:53:53 +00:00
|
|
|
writePageCloud:
|
|
|
|
path: ./cloud.ts:writeFileCloud
|
|
|
|
pageNamespace:
|
|
|
|
pattern: "💭 .+"
|
|
|
|
operation: writeFile
|
2022-09-02 13:41:40 +00:00
|
|
|
getPageMetaCloud:
|
2022-09-12 12:50:37 +00:00
|
|
|
path: ./cloud.ts:getFileMetaCloud
|
2022-09-02 13:41:40 +00:00
|
|
|
pageNamespace:
|
|
|
|
pattern: "💭 .+"
|
2022-09-12 12:50:37 +00:00
|
|
|
operation: getFileMeta
|
2023-01-23 17:52:17 +00:00
|
|
|
|
|
|
|
# Vim
|
|
|
|
toggleVimMode:
|
|
|
|
path: "./vim.ts:toggleVimMode"
|
|
|
|
command:
|
|
|
|
name: "Editor: Toggle Vim Mode"
|
|
|
|
loadVimRc:
|
|
|
|
path: "./vim.ts:loadVimRc"
|
|
|
|
command:
|
|
|
|
name: "Editor: Vim: Load VIMRC"
|
|
|
|
events:
|
|
|
|
- editor:modeswitch
|
2023-07-02 09:25:32 +00:00
|
|
|
|
|
|
|
brokenLinksCommand:
|
|
|
|
path: ./broken_links.ts:brokenLinksCommand
|
|
|
|
command:
|
|
|
|
name: "Broken Links: Show"
|