vscode-jupyter-keymap/package.json

127 строки
4.7 KiB
JSON

{
"name": "jupyter-keymap",
"publisher": "ms-toolsai",
"author": {
"name": "Microsoft Corporation"
},
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#ffffff",
"theme": "light"
},
"displayName": "Jupyter Keymap",
"description": "Jupyter keymaps for notebooks",
"version": "1.2.0",
"engines": {
"vscode": "^1.80.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-jupyter-keymap"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-jupyter-keymap/issues"
},
"categories": [
"Notebooks"
],
"keywords": [
"notebook-keymap"
],
"contributes": {
"keybindings":[
{
"key": "F",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.find"
},
{
"key": "K",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "list.focusUp"
},
{
"key": "J",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "list.focusDown"
},
{
"key": "A",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.insertCodeCellAboveAndFocusContainer"
},
{
"key": "B",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.insertCodeCellBelowAndFocusContainer"
},
{
"key": "D D",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.delete"
},
{
"key": "Z",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "undo"
},
{
"key": "S",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "workbench.action.files.save"
},
{
"key": "C",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.copy"
},
{
"key": "X",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.cut"
},
{
"key": "V",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.paste"
},
{
"key": "shift+L",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.toggleLineNumbers"
},
{
"key": "O",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.toggleOutputs"
},
{
"key": "L",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused",
"command": "notebook.cell.toggleLineNumbers"
},
{
"key": "ctrl+shift+-",
"when": "editorTextFocus && inputFocus && notebookEditorFocused && !notebookOutputInputFocused",
"command": "notebook.cell.split"
},
{
"key": "ctrl+enter",
"when": "!inlineChatVisible && notebookCellListFocused",
"command": "notebook.cell.executeAndFocusContainer"
},
{
"key": "shift+enter",
"when": "editorTextFocus && inputFocus && notebookEditorFocused && !inlineChatFocused || notebookCellListFocused && notebookCellType == 'code' && !inlineChatFocused",
"command": "notebook.cell.executeAndSelectBelow"
},
{
"win": "ctrl+alt+enter",
"linux": "ctrl+alt+enter",
"when": "inlineChatHasProvider && inlineChatVisible && !inlineChatDocumentChanged || inlineChatHasProvider && inlineChatVisible && config.inlineChat.editMode != 'preview'",
"command": "interactive.acceptChanges"
}
]
}
}