{ "commands": { "appSettings": { "id": "app-settings", "route": { "kind": "handler", "handler": "onOpenSettings" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": ",", "display": "⌘,", "accelerator": "CmdOrCtrl+,", "requiresManualNativeAcceleratorQa": true } }, "appCheckForUpdates": { "id": "app-check-for-updates", "route": { "kind": "handler", "handler": "onCheckForUpdates" }, "menuOwned": true }, "fileNewNote": { "id": "file-new-note", "route": { "kind": "handler", "handler": "onCreateNote" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "n", "code": "KeyN", "display": "⌘N", "accelerator": "CmdOrCtrl+N", "requiresManualNativeAcceleratorQa": true } }, "fileNewType": { "id": "file-new-type", "route": { "kind": "handler", "handler": "onCreateType" }, "menuOwned": true }, "fileQuickOpen": { "id": "file-quick-open", "route": { "kind": "handler", "handler": "onQuickOpen" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "p", "aliases": ["o"], "code": "KeyP", "display": "⌘P / ⌘O", "accelerator": "CmdOrCtrl+P", "requiresManualNativeAcceleratorQa": true } }, "fileSave": { "id": "file-save", "route": { "kind": "handler", "handler": "onSave" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "s", "code": "KeyS", "display": "⌘S", "accelerator": "CmdOrCtrl+S", "requiresManualNativeAcceleratorQa": true } }, "editFindInNote": { "id": "edit-find-in-note", "route": { "kind": "handler", "handler": "onFindInNote" }, "menuOwned": true, "preferredShortcutQaMode": "renderer-shortcut-event", "shortcut": { "combo": "command-or-ctrl", "key": "f", "code": "KeyF", "display": "⌘F", "accelerator": "CmdOrCtrl+F", "requiresManualNativeAcceleratorQa": true } }, "editReplaceInNote": { "id": "edit-replace-in-note", "route": { "kind": "handler", "handler": "onReplaceInNote" }, "menuOwned": true }, "editFindInVault": { "id": "edit-find-in-vault", "route": { "kind": "handler", "handler": "onSearch" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl-shift", "key": "f", "code": "KeyF", "display": "⌘⇧F", "accelerator": "CmdOrCtrl+Shift+F", "requiresManualNativeAcceleratorQa": true } }, "editPastePlainText": { "id": "edit-paste-plain-text", "route": { "kind": "handler", "handler": "onPastePlainText" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl-shift", "key": "v", "code": "KeyV", "display": "⌘⇧V", "accelerator": "CmdOrCtrl+Shift+V", "requiresManualNativeAcceleratorQa": true } }, "editToggleRawEditor": { "id": "edit-toggle-raw-editor", "route": { "kind": "handler", "handler": "onToggleRawEditor" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "\\", "display": "⌘\\", "accelerator": "CmdOrCtrl+\\" } }, "editToggleDiff": { "id": "edit-toggle-diff", "route": { "kind": "handler", "handler": "onToggleDiff" }, "menuOwned": true }, "viewEditorOnly": { "id": "view-editor-only", "route": { "kind": "view-mode", "value": "editor-only" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "1", "display": "⌘1", "accelerator": "CmdOrCtrl+1" } }, "viewEditorList": { "id": "view-editor-list", "route": { "kind": "view-mode", "value": "editor-list" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "2", "display": "⌘2", "accelerator": "CmdOrCtrl+2" } }, "viewAll": { "id": "view-all", "route": { "kind": "view-mode", "value": "all" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "3", "display": "⌘3", "accelerator": "CmdOrCtrl+3" } }, "viewToggleProperties": { "id": "view-toggle-properties", "route": { "kind": "handler", "handler": "onToggleInspector" }, "menuOwned": true, "preferredShortcutQaMode": "renderer-shortcut-event", "shortcut": { "combo": "command-or-ctrl-shift", "key": "i", "code": "KeyI", "display": "⌘⇧I", "accelerator": "CmdOrCtrl+Shift+I" } }, "viewToggleAiChat": { "id": "view-toggle-ai-chat", "route": { "kind": "handler", "handler": "onToggleAIChat" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl-shift", "key": "l", "code": "KeyL", "display": "⌘⇧L", "accelerator": "CmdOrCtrl+Shift+L", "requiresManualNativeAcceleratorQa": true } }, "viewToggleBacklinks": { "id": "view-toggle-backlinks", "route": { "kind": "handler", "handler": "onToggleInspector" }, "menuOwned": true }, "viewCommandPalette": { "id": "view-command-palette", "route": { "kind": "handler", "handler": "onCommandPalette" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "k", "code": "KeyK", "display": "⌘K", "accelerator": "CmdOrCtrl+K", "requiresManualNativeAcceleratorQa": true } }, "viewZoomIn": { "id": "view-zoom-in", "route": { "kind": "handler", "handler": "onZoomIn" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "=", "aliases": ["+"], "display": "⌘=", "accelerator": "CmdOrCtrl+=" } }, "viewZoomOut": { "id": "view-zoom-out", "route": { "kind": "handler", "handler": "onZoomOut" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "-", "display": "⌘-", "accelerator": "CmdOrCtrl+-" } }, "viewZoomReset": { "id": "view-zoom-reset", "route": { "kind": "handler", "handler": "onZoomReset" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "0", "display": "⌘0", "accelerator": "CmdOrCtrl+0" } }, "viewGoBack": { "id": "view-go-back", "route": { "kind": "handler", "handler": "onGoBack" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "ArrowLeft", "code": "ArrowLeft", "display": "⌘←", "accelerator": "CmdOrCtrl+Left" } }, "viewGoForward": { "id": "view-go-forward", "route": { "kind": "handler", "handler": "onGoForward" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "ArrowRight", "code": "ArrowRight", "display": "⌘→", "accelerator": "CmdOrCtrl+Right" } }, "goAllNotes": { "id": "go-all-notes", "route": { "kind": "filter", "value": "all" }, "menuOwned": true }, "goArchived": { "id": "go-archived", "route": { "kind": "filter", "value": "archived" }, "menuOwned": true }, "goChanges": { "id": "go-changes", "route": { "kind": "filter", "value": "changes" }, "menuOwned": true }, "goInbox": { "id": "go-inbox", "route": { "kind": "filter", "value": "inbox" }, "menuOwned": true }, "noteToggleOrganized": { "id": "note-toggle-organized", "route": { "kind": "active-tab-handler", "handler": "onToggleOrganized" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "e", "code": "KeyE", "display": "⌘E", "accelerator": "CmdOrCtrl+E", "requiresManualNativeAcceleratorQa": true } }, "noteToggleFavorite": { "id": "note-toggle-favorite", "route": { "kind": "active-tab-handler", "handler": "onToggleFavorite" }, "menuOwned": false, "shortcut": { "combo": "command-or-ctrl", "key": "d", "code": "KeyD", "display": "⌘D", "accelerator": "CmdOrCtrl+D", "requiresManualNativeAcceleratorQa": true } }, "noteArchive": { "id": "note-archive", "route": { "kind": "active-tab-handler", "handler": "onArchiveNote" }, "menuOwned": true }, "noteDelete": { "id": "note-delete", "route": { "kind": "active-tab-handler", "handler": "onDeleteNote" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl", "key": "Backspace", "aliases": ["Delete"], "display": "⌘⌫", "accelerator": "CmdOrCtrl+Backspace" } }, "noteOpenInNewWindow": { "id": "note-open-in-new-window", "route": { "kind": "handler", "handler": "onOpenInNewWindow" }, "menuOwned": true, "shortcut": { "combo": "command-or-ctrl-shift", "key": "o", "code": "KeyO", "display": "⌘⇧O", "accelerator": "CmdOrCtrl+Shift+O" } }, "noteRestoreDeleted": { "id": "note-restore-deleted", "route": { "kind": "handler", "handler": "onRestoreDeletedNote" }, "menuOwned": true }, "vaultOpen": { "id": "vault-open", "route": { "kind": "handler", "handler": "onOpenVault" }, "menuOwned": true }, "vaultRemove": { "id": "vault-remove", "route": { "kind": "handler", "handler": "onRemoveActiveVault" }, "menuOwned": true }, "vaultRestoreGettingStarted": { "id": "vault-restore-getting-started", "route": { "kind": "handler", "handler": "onRestoreGettingStarted" }, "menuOwned": true }, "vaultAddRemote": { "id": "vault-add-remote", "route": { "kind": "handler", "handler": "onAddRemote" }, "menuOwned": true }, "vaultCommitPush": { "id": "vault-commit-push", "route": { "kind": "handler", "handler": "onCommitPush" }, "menuOwned": true }, "vaultPull": { "id": "vault-pull", "route": { "kind": "handler", "handler": "onPull" }, "menuOwned": true }, "vaultResolveConflicts": { "id": "vault-resolve-conflicts", "route": { "kind": "handler", "handler": "onResolveConflicts" }, "menuOwned": true }, "vaultViewChanges": { "id": "vault-view-changes", "route": { "kind": "handler", "handler": "onViewChanges" }, "menuOwned": true }, "vaultInstallMcp": { "id": "vault-install-mcp", "route": { "kind": "handler", "handler": "onInstallMcp" }, "menuOwned": true }, "vaultReload": { "id": "vault-reload", "route": { "kind": "handler", "handler": "onReloadVault" }, "menuOwned": true }, "vaultRepair": { "id": "vault-repair", "route": { "kind": "handler", "handler": "onRepairVault" }, "menuOwned": true } }, "menus": [ { "label": "File", "items": [ { "kind": "command", "command": "fileNewNote", "label": "New Note" }, { "kind": "command", "command": "fileNewType", "label": "New Type" }, { "kind": "command", "command": "fileQuickOpen", "label": "Quick Open" }, { "kind": "command", "command": "fileQuickOpen", "id": "file-quick-open-alias", "label": { "macos": "Quick Open (Cmd+O)", "default": "Quick Open (Ctrl+O)" }, "accelerator": "CmdOrCtrl+O" }, { "kind": "separator" }, { "kind": "command", "command": "fileSave", "label": "Save" } ] }, { "label": "Edit", "items": [ { "kind": "command", "command": "editPastePlainText", "label": "Paste without Formatting" }, { "kind": "separator" }, { "kind": "command", "command": "editFindInNote", "label": "Find in Note", "enabled": false }, { "kind": "command", "command": "editReplaceInNote", "label": "Replace in Note", "enabled": false }, { "kind": "command", "command": "editFindInVault", "label": "Find in Vault" }, { "kind": "menu-event", "id": "edit-toggle-note-list-search", "label": "Toggle Note List Search", "accelerator": "CmdOrCtrl+F", "enabled": false }, { "kind": "command", "command": "editToggleDiff", "label": "Toggle Diff Mode" } ] }, { "label": "View", "items": [ { "kind": "command", "command": "viewEditorOnly", "label": "Editor Only" }, { "kind": "command", "command": "viewEditorList", "label": "Editor + Notes" }, { "kind": "command", "command": "viewAll", "label": "All Panels" }, { "kind": "separator" }, { "kind": "command", "command": "viewToggleProperties", "label": "Toggle Properties Panel", "accelerator": null }, { "kind": "separator" }, { "kind": "command", "command": "viewZoomIn", "label": "Zoom In" }, { "kind": "command", "command": "viewZoomOut", "label": "Zoom Out" }, { "kind": "command", "command": "viewZoomReset", "label": "Actual Size" }, { "kind": "separator" }, { "kind": "command", "command": "viewCommandPalette", "label": "Command Palette" } ] }, { "label": "Go", "items": [ { "kind": "command", "command": "goAllNotes", "label": "All Notes" }, { "kind": "command", "command": "goArchived", "label": "Archived" }, { "kind": "command", "command": "goChanges", "label": "Changes" }, { "kind": "command", "command": "goInbox", "label": "Inbox" }, { "kind": "separator" }, { "kind": "command", "command": "viewGoBack", "label": "Go Back" }, { "kind": "command", "command": "viewGoForward", "label": "Go Forward" } ] }, { "label": "Note", "items": [ { "kind": "command", "command": "noteToggleOrganized", "label": "Toggle Organized" }, { "kind": "command", "command": "noteArchive", "label": "Archive Note" }, { "kind": "command", "command": "noteDelete", "label": "Delete Note" }, { "kind": "command", "command": "noteRestoreDeleted", "label": "Restore Deleted Note", "enabled": false }, { "kind": "separator" }, { "kind": "command", "command": "noteOpenInNewWindow", "label": "Open in New Window" }, { "kind": "separator" }, { "kind": "command", "command": "editToggleRawEditor", "label": "Toggle Raw Editor" }, { "kind": "command", "command": "viewToggleAiChat", "label": "Toggle AI Panel" }, { "kind": "command", "command": "viewToggleBacklinks", "label": "Toggle Backlinks" } ] }, { "label": "Vault", "items": [ { "kind": "command", "command": "vaultOpen", "label": "Open Vault…" }, { "kind": "command", "command": "vaultRemove", "label": "Remove Vault from List" }, { "kind": "command", "command": "vaultRestoreGettingStarted", "label": "Restore Getting Started" }, { "kind": "separator" }, { "kind": "command", "command": "vaultAddRemote", "label": "Add Remote…", "enabled": false }, { "kind": "command", "command": "vaultCommitPush", "label": "Commit & Push" }, { "kind": "command", "command": "vaultPull", "label": "Pull from Remote" }, { "kind": "command", "command": "vaultResolveConflicts", "label": "Resolve Conflicts", "enabled": false }, { "kind": "command", "command": "vaultViewChanges", "label": "View Pending Changes" }, { "kind": "separator" }, { "kind": "command", "command": "vaultReload", "label": "Reload Vault" }, { "kind": "command", "command": "vaultRepair", "label": "Repair Vault" }, { "kind": "command", "command": "vaultInstallMcp", "label": "Set Up External AI Tools…" } ] } ], "appMenu": [ { "kind": "command", "command": "appCheckForUpdates", "label": "Check for Updates..." }, { "kind": "separator" }, { "kind": "command", "command": "appSettings", "label": "Settings..." } ], "menuStateGroups": { "noteDependent": [ { "command": "fileSave" }, { "command": "noteToggleOrganized" }, { "command": "noteArchive" }, { "command": "noteDelete" }, { "command": "editToggleRawEditor" }, { "command": "editToggleDiff" }, { "command": "viewToggleBacklinks" }, { "command": "noteOpenInNewWindow" } ], "editorFindDependent": [ { "command": "editFindInNote" }, { "command": "editReplaceInNote" } ], "noteListSearchDependent": [ { "id": "edit-toggle-note-list-search" } ], "restoreDeletedDependent": [ { "command": "noteRestoreDeleted" } ], "gitCommitDependent": [ { "command": "vaultCommitPush" } ], "gitConflictDependent": [ { "command": "vaultResolveConflicts" } ], "gitNoRemoteDependent": [ { "command": "vaultAddRemote" } ] } }