-
Notifications
You must be signed in to change notification settings - Fork 0
/
keybindings.json
85 lines (85 loc) · 2.45 KB
/
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
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
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+l",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+g",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+k ctrl+g",
"command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+Shift+f",
"command": "workbench.action.tasks.runTask",
"args": "Code Format"
},
{
"key": "ctrl+h",
"command": "workbench.action.findInFiles"
},
{
"key": "ctrl+'",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+;",
"command": "editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+f12",
"command": "-editor.action.goToImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+;",
"command": "C_Cpp.GoToDeclaration",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"key": "ctrl+f12",
"command": "-C_Cpp.GoToDeclaration",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"key": "ctrl+;",
"command": "C_Cpp.GoToDeclaration",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"key": "ctrl+f12",
"command": "-C_Cpp.GoToDeclaration",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"key": "shift+alt+right",
"command": "workbench.action.splitEditorRight"
},
{
"key": "shift+alt+right",
"command": "-editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor"
}
]