-
Notifications
You must be signed in to change notification settings - Fork 3
/
keybindings.json
218 lines (218 loc) · 7.34 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+n",
"command": "workbench.action.compareEditor.nextChange",
"when": "editorTextFocus && !suggestWidgetVisible && textCompareEditorActive",
},
{
"key": "alt+shift+n",
"command": "workbench.action.compareEditor.previousChange",
"when": "editorTextFocus && !suggestWidgetVisible && textCompareEditorActive",
},
{
"key": "alt+n",
"command": "workbench.action.editor.nextChange",
"when": "editorTextFocus && !suggestWidgetVisible && !textCompareEditorActive",
},
{
"key": "alt+shift+n",
"command": "workbench.action.editor.previousChange",
"when": "editorTextFocus && !suggestWidgetVisible && !textCompareEditorActive",
},
{
"key": "shift+enter",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "🔸 `${1:XX}:` $2",
"langId": "markdown",
"name": "Dialog",
},
"when": "editorTextFocus && editorLangId == 'markdown' && vim.mode == 'Insert'"
},
{
"command": "workbench.action.findInFiles",
"args": {
"onlyOpenEditors": true,
"triggerSearch": true,
},
"key": "ctrl+0"
},
{
"command": "vscode-neovim.compositeEscape1",
"key": "j",
"when": "neovim.mode == insert && editorTextFocus",
"args": "j",
},
{
"command": "problems.action.openToSide",
"key": "F1",
},
{
"key": "ctrl+shift+r",
"command": "PowerShell.RestartSession",
"when": "editorTextFocus && editorLangId == 'powershell'"
},
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "!editorFocus"
},
{
"key": "ctrl+`",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+a",
"command": "extension.align",
"when": "editorTextFocus"
},
{
"key": "alt+shift+s",
"command": "PowerShell.InvokeRegisteredEditorCommand",
"args": { "commandName": "ConvertTo-SplatExpression" },
"when": "editorLangId == 'powershell'"
},
{
"key": "alt+shift+n",
"command": "PowerShell.InvokeRegisteredEditorCommand",
"args": { "commandName": "Resolve-TypeExpression" },
"when": "editorLangId == 'powershell'"
},
{
"key": "alt+shift+m",
"command": "PowerShell.InvokeRegisteredEditorCommand",
"args": { "commandName": "Expand-MemberExpression" },
"when": "editorLangId == 'powershell'"
},
{
"key": "alt+shift+f",
"command": "workbench.files.action.focusFilesExplorer"
},
{
"key": "r",
"command": "workbench.files.action.refreshFilesExplorer",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": "d",
"command": "moveFileToTrash",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "ctrl+n",
"command": "explorer.newFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus && !inQuickOpen"
},
{
"key": "alt+n",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "alt+p",
"command": "workbench.action.quickOpenNavigatePrevious",
"when": "inQuickOpen"
},
{
"key": "alt+n",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "alt+p",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "alt+n",
"command": "showNextParameterHint",
"when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "alt+p",
"command": "showPrevParameterHint",
"when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "k",
"command": "list.focusUp",
"when": "listFocus && listHasSelectionOrFocus && !inputFocus"
},
{
"key": "j",
"command": "list.focusDown",
"when": "listFocus && listHasSelectionOrFocus && !inputFocus"
},
{
"key": "ctrl+v",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\u2714" },
"when": "terminalFocus"
},
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\u2665" },
"when": "terminalFocus",
},
{
"key": "ctrl+shift+.",
"command": "editor.action.quickFix",
},
{ "key": "ctrl+r l", "command": "-npm-script.showOutput" },
{ "key": "ctrl+r t", "command": "-dotnet.test.runTestsInContext" },
{ "key": "ctrl+r shift+r", "command": "-npm-script.run" },
{ "key": "ctrl+r ctrl+t", "command": "-dotnet.test.debugTestsInContext" },
{ "key": "ctrl+r r", "command": "-npm-script.rerun-last-script" },
{ "key": "ctrl+r shift+x", "command": "-npm-script.terminate-script" },
{ "key": "ctrl+r t", "command": "-npm-script.test" },
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup",
"when": "!editorFocus" },
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus",
"when": "!terminalFocus" },
{ "key": "ctrl+shift+r", "command": "PowerShell.RestartSession",
"when": "editorLangId == 'powershell'" },
{ "key": "ctrl+shift+q", "command": "workbench.action.toggleMaximizedPanel" },
{ "key": "ctrl+shift+c", "command": "PowerShell.ShowAdditionalCommands",
"when": "editorLangId == 'powershell'" },
{ "key": "ctrl+shift+a", "command": "extension.align",
"when": "editorTextFocus" },
{
"key": "ctrl+shift+r",
"command": "workbench.action.reloadWindow"
},
{
"key": "ctrl+shift+j",
"command": "PowerShell.InvokeRegisteredEditorCommand",
"args": [{ "commandName": "FixAllPSSA" }],
"when": "editorLangId == 'powershell'"
},
{
"key": "shift+alt+s",
"command": "PowerShell.InvokeRegisteredEditorCommand",
"args": { "commandName": "ConvertTo-SplatExpression" },
"when": "editorLangId == 'powershell'"
},
{
"key": "alt+n",
"command": "showNextParameterHint",
"when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible",
},
{
"key": "alt+p",
"command": "showPrevParameterHint",
"when": "editorTextFocus && parameterHintsMultipleSignatures && parameterHintsVisible",
},
{
"key": "shift+enter",
"command": "terminalInput.sendCustomInput",
"args": [ "heartEmojiWithAlt" ],
"when": "terminalFocus"
},
{
"key": "ctrl+.",
"command": "keyboard-quickfix.openQuickFix",
},
]