-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeybindings.json
More file actions
121 lines (113 loc) · 3.24 KB
/
keybindings.json
File metadata and controls
121 lines (113 loc) · 3.24 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+o",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+'",
"command": "code-runner.run"
},
{
"key": "ctrl+oem_1",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+,",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
// string selection
{
"key": "ctrl+m",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "shift+alt+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
// settings
{
"key": "ctrl+shift+oem_comma",
"command": "workbench.action.openSettings"
},
{
"key": "ctrl+oem_comma",
"command": "-workbench.action.openSettings"
},
// rename symbol
{
"key": "ctrl+shift+d",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
// look implementation
{
"key": "ctrl+shift+l",
"command": "editor.action.peekImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+shift+f12",
"command": "-editor.action.peekImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
// move like up and down
{
"key": "alt+k",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+i",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
// Mongodb
{
"key": "ctrl+enter",
"command": "mdb.runAllPlaygroundBlocks",
"when": "editorLangId == 'mongodb'"
},
{
"key": "ctrl+alt+r",
"command": "-mdb.runAllPlaygroundBlocks",
"when": "editorLangId == 'mongodb'"
}
// {
// "key": "shift+alt+down",
// "command": "-editor.action.copyLinesDownAction",
// "when": "editorTextFocus && !editorReadonly"
// },
// {
// "key": "shift+up",
// "command": "editor.action.copyLinesUpAction",
// "when": "editorTextFocus && !editorReadonly"
// },
// {
// "key": "shift+alt+up",
// "command": "-editor.action.copyLinesUpAction",
// "when": "editorTextFocus && !editorReadonly"
// },
// {
// "key": "ctrl+j",
// "command": "-workbench.action.togglePanel"
// },
]