148148 "win" : " F" ,
149149 "linux" : " F" ,
150150 "key" : " F" ,
151- "when" : " notebookEditorFocused && !inputFocus" ,
151+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
152152 "command" : " notebook.find"
153153 },
154154 {
155155 "mac" : " K" ,
156156 "win" : " K" ,
157157 "linux" : " K" ,
158158 "key" : " K" ,
159- "when" : " notebookEditorFocused && !inputFocus" ,
159+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
160160 "command" : " list.focusUp"
161161 },
162162 {
163163 "mac" : " J" ,
164164 "win" : " J" ,
165165 "linux" : " J" ,
166166 "key" : " J" ,
167- "when" : " notebookEditorFocused && !inputFocus" ,
167+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
168168 "command" : " list.focusDown"
169169 },
170170 {
171171 "mac" : " A" ,
172172 "win" : " A" ,
173173 "linux" : " A" ,
174174 "key" : " A" ,
175- "when" : " notebookEditorFocused && !inputFocus" ,
175+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
176176 "command" : " notebook.cell.insertCodeCellAbove"
177177 },
178178 {
179179 "mac" : " B" ,
180180 "win" : " B" ,
181181 "linux" : " B" ,
182182 "key" : " B" ,
183- "when" : " notebookEditorFocused && !inputFocus" ,
183+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
184184 "command" : " notebook.cell.insertCodeCellBelow"
185185 },
186186 {
187187 "mac" : " D D" ,
188188 "win" : " D D" ,
189189 "linux" : " D D" ,
190190 "key" : " D D" ,
191- "when" : " notebookEditorFocused && !inputFocus" ,
191+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
192192 "command" : " notebook.cell.delete"
193193 },
194194 {
195195 "mac" : " Z" ,
196196 "win" : " Z" ,
197197 "linux" : " Z" ,
198198 "key" : " Z" ,
199- "when" : " notebookEditorFocused && !inputFocus" ,
199+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
200200 "command" : " notebook.undo"
201201 },
202202 {
203203 "mac" : " C" ,
204204 "win" : " C" ,
205205 "linux" : " C" ,
206206 "key" : " C" ,
207- "when" : " notebookEditorFocused && !inputFocus" ,
207+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
208208 "command" : " notebook.cell.copy"
209209 },
210210 {
211211 "mac" : " X" ,
212212 "win" : " X" ,
213213 "linux" : " X" ,
214214 "key" : " X" ,
215- "when" : " notebookEditorFocused && !inputFocus" ,
215+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
216216 "command" : " notebook.cell.cut"
217217 },
218218 {
219219 "mac" : " V" ,
220220 "win" : " V" ,
221221 "linux" : " V" ,
222222 "key" : " V" ,
223- "when" : " notebookEditorFocused && !inputFocus" ,
223+ "when" : " notebookEditorFocused && !inputFocus && notebookViewType == jupyter-notebook " ,
224224 "command" : " notebook.cell.paste"
225225 },
226226 {
227227 "mac" : " ctrl+shift+-" ,
228228 "win" : " ctrl+shift+-" ,
229229 "linux" : " ctrl+shift+-" ,
230- "when" : " editorTextFocus && inputFocus && notebookEditorFocused" ,
230+ "when" : " editorTextFocus && inputFocus && notebookEditorFocused && notebookViewType == jupyter-notebook " ,
231231 "command" : " notebook.cell.split"
232232 }
233233 ],
35313531 "publisherDisplayName" : " Microsoft" ,
35323532 "publisherId" : " 998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8"
35333533 }
3534- }
3534+ }
0 commit comments