-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvscode_keybindings.json
56 lines (56 loc) · 1.94 KB
/
vscode_keybindings.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
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+h", "command": "workbench.action.navigateBack" },
{ "key": "ctrl+l", "command": "workbench.action.navigateForward" },
{ "key": "ctrl+g ctrl+g", "command": "editor.action.goToDeclaration" },
{ "key": "ctrl+g g", "command": "editor.action.goToDeclaration" },
{
"key": "ctrl+g u",
"command": "editor.action.referenceSearch.trigger"
},
{
"key": "shift+cmd+r",
"command": "aipopup.action.modal.generate",
"when": "editorFocus"
},
{
"key": "cmd+k",
"command": "-aipopup.action.modal.generate",
"when": "editorFocus"
},
{
"key": "shift+cmd+k",
"command": "-aipopup.action.modal.generate",
"when": "editorFocus"
},
{
"key": "cmd+r",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "j",
"command": "-notebook.focusNextEditor",
"when": "editorTextFocus && inputFocus && notebookEditorFocused && vim.mode == 'Normal' && notebookEditorCursorAtBoundary != 'none' && notebookEditorCursorAtBoundary != 'top'"
},
{
"key": "k",
"command": "-notebook.focusPreviousEditor",
"when": "editorTextFocus && inputFocus && notebookEditorFocused && vim.mode == 'Normal' && notebookEditorCursorAtBoundary != 'bottom' && notebookEditorCursorAtBoundary != 'none'"
},
{
"key": "d d",
"command": "-notebook.cell.delete",
"when": "notebookEditorFocused && !inputFocus && !notebookOutputInputFocused"
},
{
"key": "escape",
"command": "-notebook.cell.quitEdit",
"when": "inputFocus && notebookEditorFocused && vim.active && !editorHasSelection && !editorHoverVisible && vim.mode == 'Normal'"
}
]