-
Notifications
You must be signed in to change notification settings - Fork 0
/
keybindings.json
62 lines (50 loc) · 3.5 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
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "cmd+d", "command": "editor.action.deleteLines",
"when": "editorTextFocus" },
{ "key": "cmd+alt+down", "command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus" },
{ "key": "cmd+alt+up", "command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus" },
{ "key": "ctrl+shift+up", "command": "editor.action.insertCursorAbove",
"when": "editorTextFocus" },
{ "key": "ctrl+shift+down", "command": "editor.action.insertCursorBelow",
"when": "editorTextFocus" },
{ "key": "cmd+e", "command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus" },
{ "key": "cmd+o", "command": "workbench.action.gotoSymbol",
"when": "editorFocus" },
{ "key": "cmd+l", "command": "workbench.action.gotoLine",
"when": "editorFocus" },
{ "key": "f3", "command": "editor.action.goToDeclaration",
"when": "editorTextFocus" },
{ "key": "cmd+.", "command": "editor.action.nextMatchFindAction",
"when": "editorFocus" },
{ "key": "cmd+1", "command": "editor.action.quickFix",
"when": "editorTextFocus" },
{ "key": "cmd+shift+g", "command": "editor.action.referenceSearch.trigger",
"when": "editorTextFocus" },
{ "key": "alt+cmd+left", "command": "workbench.action.navigateBack" },
{ "key": "alt+cmd+right", "command": "workbench.action.navigateForward" },
{ "key": "shift+cmd+w", "command": "workbench.action.closeAllEditors" },
{ "key": "cmd+shift+[", "command": "workbench.action.previousEditor" },
{ "key": "cmd+shift+]", "command": "workbench.action.nextEditor" },
{ "key": "ctrl+pageup", "command": "workbench.action.previousEditor" },
{ "key": "ctrl+pagedown", "command": "workbench.action.nextEditor" },
{ "key": "alt+cmd+r", "command": "editor.action.selectHighlights",
"when": "editorFocus" },
{ "key": "ctrl+shift+up", "command": "editor.action.smartSelect.grow",
"when": "editorTextFocus" },
{ "key": "ctrl+shift+down", "command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus" },
{ "key": "cmd+.", "command": "editor.action.nextSelectionMatchFindAction",
"when": "editorFocus" },
{ "key": "cmd+,", "command": "editor.action.previousSelectionMatchFindAction",
"when": "editorFocus" },
{ "key": "cmd+shift+t", "command": "workbench.action.showAllSymbols" }
// Workaround VSC bug
// { "key": "shift+escape", "command": "removeSecondaryCursors",
// "when": "editorTextFocus" },
// { "key": "escape", "command": "removeSecondaryCursors",
// "when": "editorTextFocus" }
]