Skip to content

Commit f100010

Browse files
authored
Update keybindings in keybindings.json
1 parent 60de800 commit f100010

1 file changed

Lines changed: 168 additions & 49 deletions

File tree

.vscode/keybindings.json

Lines changed: 168 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,207 @@
1-
// Place your key bindings in this file to override the defaultsauto[]
1+
// Place your key bindings in this file to override the defaults
22
[
33
{
4-
"key": "shift+cmd+up",
5-
"command": "cursorMove",
4+
"key": "cmd+i",
5+
"command": "composerMode.agent"
6+
},
7+
{
8+
"key": "ctrl+d",
9+
"command": "workbench.files.action.showActiveFileInExplorer"
10+
},
11+
{
12+
"key": "ctrl+s",
13+
"command": "filesExplorer.findInWorkspace"
14+
},
15+
{
16+
"key": "cmd+1",
17+
"command": "workbench.action.openEditorAtIndex1"
18+
},
19+
{
20+
"key": "cmd+2",
21+
"command": "workbench.action.openEditorAtIndex2"
22+
},
23+
{
24+
"key": "cmd+3",
25+
"command": "workbench.action.openEditorAtIndex3"
26+
},
27+
{
28+
"key": "cmd+4",
29+
"command": "workbench.action.openEditorAtIndex4"
30+
},
31+
{
32+
"key": "cmd+5",
33+
"command": "workbench.action.openEditorAtIndex5"
34+
},
35+
{
36+
"key": "cmd+6",
37+
"command": "workbench.action.openEditorAtIndex6"
38+
},
39+
{
40+
"key": "cmd+7",
41+
"command": "workbench.action.openEditorAtIndex7"
42+
},
43+
{
44+
"key": "cmd+8",
45+
"command": "workbench.action.openEditorAtIndex8"
46+
},
47+
{
48+
"key": "cmd+9",
49+
"command": "workbench.action.openEditorAtIndex9"
50+
},
51+
{
52+
"key": "alt+down",
53+
"command": "runCommands",
654
"args": {
7-
"to": "up",
8-
"by": "line",
9-
"value": 4
55+
"commands": ["cursorDown", "editor.gotoNextFold"]
1056
},
1157
"when": "editorTextFocus"
1258
},
1359
{
14-
"key": "shift+cmd+down",
15-
"command": "cursorMove",
60+
"key": "alt+up",
61+
"command": "runCommands",
1662
"args": {
17-
"to": "down",
18-
"by": "line",
19-
"value": 4
63+
"commands": ["cursorUp", "editor.gotoPreviousFold"]
2064
},
2165
"when": "editorTextFocus"
2266
},
2367
{
24-
"key": "shift+ctrl+down",
25-
"command": "cursorMove",
26-
"when": "editorTextFocus",
68+
"key": "shift+alt+down",
69+
"command": "runCommands",
2770
"args": {
28-
"to": "nextBlankLine",
29-
"by": "wrappedLine"
30-
}
71+
"commands": ["cursorLineEndSelect", "editor.action.selectFromAnchorToCursor"]
72+
},
73+
"when": "editorTextFocus && selectionAnchorSet"
3174
},
3275
{
33-
"key": "shift+ctrl+up",
34-
"command": "cursorMove",
35-
"when": "editorTextFocus",
76+
"key": "shift+alt+down",
77+
"command": "runCommands",
3678
"args": {
37-
"to": "prevBlankLine",
38-
"by": "wrappedLine"
39-
}
79+
"commands": ["cursorLineStart", "editor.action.setSelectionAnchor", "cursorDown", "editor.gotoNextFold"]
80+
},
81+
"when": "editorTextFocus && !selectionAnchorSet"
82+
},
83+
{
84+
"key": "shift+alt+up",
85+
"command": "runCommands",
86+
"args": {
87+
"commands": ["cursorLineStartSelect", "editor.action.selectFromAnchorToCursor"]
88+
},
89+
"when": "editorTextFocus && selectionAnchorSet"
90+
},
91+
{
92+
"key": "shift+alt+up",
93+
"command": "runCommands",
94+
"args": {
95+
"commands": ["cursorLineEnd", "editor.action.setSelectionAnchor", "cursorUp", "editor.gotoPreviousFold"]
96+
},
97+
"when": "editorTextFocus && !selectionAnchorSet"
4098
},
4199
{
42100
"key": "ctrl+f",
43-
"command": "-cursorRight",
44-
"when": "textInputFocus"
101+
"command": "actions.find",
45102
},
46103
{
47-
"key": "alt+f",
48-
"command": "editor.gotoNextFold"
104+
"key": "ctrl+r",
105+
"command": "deleteWordRight",
106+
"when": "editorFocus"
49107
},
50108
{
51-
"key": "alt+b",
52-
"command": "editor.gotoPreviousFold"
109+
"key": "ctrl+l",
110+
"command": "deleteWordLeft",
111+
"when": "editorFocus"
53112
},
54113
{
55-
"key": "ctrl+f",
56-
"command": "cursorWordPartRight",
57-
"when": "textInputFocus"
114+
"key": "ctrl+shift+r",
115+
"command": "deleteAllRight",
116+
"when": "editorFocus"
117+
},
118+
{
119+
"key": "ctrl+shift+l",
120+
"command": "deleteAllLeft",
121+
"when": "editorFocus"
122+
},
123+
{
124+
"key": "ctrl+shift+g",
125+
"command": "cursorBottom",
126+
"when": "editorFocus"
58127
},
59128
{
60-
"key": "ctrl+alt+right",
61-
"command": "-cursorWordPartRight",
62-
"when": "textInputFocus"
129+
"key": "ctrl+v",
130+
"command": "runCommands",
131+
"args": {
132+
"commands": [
133+
"cursorHome",
134+
"cursorEndSelect"
135+
]
136+
},
137+
"when": "editorFocus"
63138
},
64139
{
65-
"key": "ctrl+b",
66-
"command": "cursorWordPartLeft",
67-
"when": "textInputFocus"
140+
"key": "ctrl+shift+v",
141+
"command": "runCommands",
142+
"args": {
143+
"commands": [
144+
"cursorHome",
145+
"cursorEndSelect"
146+
]
147+
},
148+
"when": "editorFocus"
68149
},
69150
{
70-
"key": "ctrl+alt+left",
71-
"command": "-cursorWordPartLeft",
72-
"when": "textInputFocus"
151+
"key": "ctrl+o",
152+
"command": "runCommands",
153+
"args": {
154+
"commands": [
155+
"workbench.action.gotoSymbol",
156+
]
157+
},
158+
"when": "editorTextFocus"
73159
},
74160
{
75-
"key": "ctrl+w",
76-
"command": "-workbench.action.switchWindow"
161+
"key": "ctrl+u",
162+
"command": "runCommands",
163+
"args": {
164+
"commands": [
165+
"cursorLineStart",
166+
"editor.action.insertLineBefore"
167+
]
168+
},
169+
"when": "editorTextFocus"
170+
},
171+
{
172+
"key": "ctrl+enter",
173+
"command": "runCommands",
174+
"args": {
175+
"commands": [
176+
"cursorEnd",
177+
"editor.action.insertLineAfter"
178+
]
179+
},
180+
"when": "editorTextFocus"
181+
},
182+
{
183+
"key": "ctrl+a",
184+
"command": "cursorHome",
185+
"when": "editorTextFocus"
186+
},
187+
{
188+
"key": "cmd+enter",
189+
"command": "explorer.openAndPassFocus",
190+
"when": "filesExplorerFocus && !inputFocus"
191+
},
192+
{
193+
"key": "ctrl+m",
194+
"command": "cursorMove",
195+
"args": {
196+
"to": "viewPortCenter"
197+
}
77198
},
78199
{
79-
"key": "ctrl+w",
80-
"command": "deleteWordPartLeft",
81-
"when": "textInputFocus && !editorReadonly"
200+
"key": "ctrl+[",
201+
"command": "editor.fold",
82202
},
83203
{
84-
"key": "ctrl+alt+backspace",
85-
"command": "-deleteWordPartLeft",
86-
"when": "textInputFocus && !editorReadonly"
204+
"key": "ctrl+]",
205+
"command": "editor.unfold",
87206
}
88207
]

0 commit comments

Comments
 (0)