forked from willemmirkovich/vscode-jupyter-keymap-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "jupyter-vim-keymap",
"displayName": "Jupyter Vim Keymap",
"description": "Vim Keymaps for Jupyter Extension",
"version": "0.0.1",
"publisher": "willemmirkovich",
"license": "MIT",
"engines": {
"license": "",
"vscode": "^1.64.0"
},
"repository": {
"type": "git",
"url": "https://github.com/willemmirkovich/vscode-jupyter-keymap-vim"
},
"categories": [
"Keymaps"
],
"contributes": {
"keybindings": [
{
"key": "I",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.edit"
},
{
"key": "K",
"when": "notebookEditorFocused && !inputFocus",
"command": "list.focusUp"
},
{
"key": "J",
"when": "notebookEditorFocused && !inputFocus",
"command": "list.focusDown"
},
{
"key": "G G",
"when": "notebookEditorFocused && !inputFocus",
"command": "list.focusFirst"
},
{
"key": "shift+G",
"when": "notebookEditorFocused && !inputFocus",
"command": "list.focusLast"
},
{
"key": "D D",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.delete"
},
{
"key": "shift+O",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.insertCodeCellAboveAndFocusContainer"
},
{
"key": "O",
"when": "listFocus && notebookEditorFocused && !inputFocus",
"command": "notebook.cell.insertCodeCellBelowAndFocusContainer"
},
{
"key": "Y",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.copy"
},
{
"key": "X",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.cut"
},
{
"key": "P",
"when": "notebookEditorFocused && !inputFocus",
"command": "notebook.cell.paste"
},
{
"key": "ctrl+enter",
"when": "editorTextFocus && inputFocus && notebookEditorFocused || notebookCellListFocused",
"command": "notebook.cell.executeAndFocusContainer"
},
{
"key": "shift+enter",
"when": "editorTextFocus && inputFocus && notebookEditorFocused || notebookCellListFocused && notebookCellType == 'code'",
"command": "notebook.cell.executeAndSelectBelow"
},
{
"key": "U",
"when": "notebookEditorFocused && !inputFocus",
"command": "undo"
}
]
}
}