|
62 | 62 | ] |
63 | 63 | } |
64 | 64 | ], |
| 65 | + "menus": { |
| 66 | + "editor/title": [ |
| 67 | + { |
| 68 | + "command": "markdown.showPreviewToSide", |
| 69 | + "when": "editorLangId == mdc && !notebookEditorFocused && !hasCustomMarkdownPreview", |
| 70 | + "alt": "markdown.showPreview", |
| 71 | + "group": "navigation" |
| 72 | + } |
| 73 | + ], |
| 74 | + "explorer/context": [ |
| 75 | + { |
| 76 | + "command": "markdown.showPreview", |
| 77 | + "when": "resourceLangId == mdc && !hasCustomMarkdownPreview", |
| 78 | + "group": "navigation" |
| 79 | + }, |
| 80 | + { |
| 81 | + "command": "markdown.findAllFileReferences", |
| 82 | + "when": "resourceLangId == mdc", |
| 83 | + "group": "4_search" |
| 84 | + } |
| 85 | + ], |
| 86 | + "editor/title/context": [ |
| 87 | + { |
| 88 | + "command": "markdown.showPreview", |
| 89 | + "when": "resourceLangId == mdc && !hasCustomMarkdownPreview", |
| 90 | + "group": "1_open" |
| 91 | + }, |
| 92 | + { |
| 93 | + "command": "markdown.findAllFileReferences", |
| 94 | + "when": "resourceLangId == mdc" |
| 95 | + } |
| 96 | + ], |
| 97 | + "commandPalette": [ |
| 98 | + { |
| 99 | + "command": "markdown.showPreview", |
| 100 | + "when": "editorLangId == mdc && !notebookEditorFocused", |
| 101 | + "group": "navigation" |
| 102 | + }, |
| 103 | + { |
| 104 | + "command": "markdown.showPreviewToSide", |
| 105 | + "when": "editorLangId == mdc && !notebookEditorFocused", |
| 106 | + "group": "navigation" |
| 107 | + }, |
| 108 | + { |
| 109 | + "command": "markdown.showLockedPreviewToSide", |
| 110 | + "when": "editorLangId == mdc && !notebookEditorFocused", |
| 111 | + "group": "navigation" |
| 112 | + }, |
| 113 | + { |
| 114 | + "command": "markdown.showPreviewSecuritySelector", |
| 115 | + "when": "editorLangId == mdc && !notebookEditorFocused" |
| 116 | + }, |
| 117 | + { |
| 118 | + "command": "markdown.preview.refresh", |
| 119 | + "when": "editorLangId == mdc && !notebookEditorFocused" |
| 120 | + }, |
| 121 | + { |
| 122 | + "command": "markdown.findAllFileReferences", |
| 123 | + "when": "editorLangId == mdc" |
| 124 | + } |
| 125 | + ] |
| 126 | + }, |
| 127 | + "keybindings": [ |
| 128 | + { |
| 129 | + "command": "markdown.showPreview", |
| 130 | + "key": "shift+ctrl+v", |
| 131 | + "mac": "shift+cmd+v", |
| 132 | + "when": "editorLangId == mdc && !notebookEditorFocused" |
| 133 | + }, |
| 134 | + { |
| 135 | + "command": "markdown.showPreviewToSide", |
| 136 | + "key": "ctrl+k v", |
| 137 | + "mac": "cmd+k v", |
| 138 | + "when": "editorLangId == mdc && !notebookEditorFocused" |
| 139 | + } |
| 140 | + ], |
| 141 | + |
65 | 142 | "snippets": [ |
66 | 143 | { |
67 | 144 | "language": "mdc", |
|
0 commit comments