|
48 | 48 | "key": "cmd+9", |
49 | 49 | "command": "workbench.action.openEditorAtIndex9" |
50 | 50 | }, |
| 51 | + { |
| 52 | + "key": "ctrl+=", |
| 53 | + "command": "editor.action.goToTypeDefinition", |
| 54 | + "when": "editorTextFocus" |
| 55 | + }, |
51 | 56 | { |
52 | 57 | "key": "alt+down", |
53 | 58 | "command": "runCommands", |
54 | 59 | "args": { |
55 | | - "commands": ["cursorDown", "editor.gotoNextFold"] |
| 60 | + "commands": [ |
| 61 | + "cursorDown", |
| 62 | + "editor.gotoNextFold" |
| 63 | + ] |
56 | 64 | }, |
57 | 65 | "when": "editorTextFocus" |
58 | 66 | }, |
59 | 67 | { |
60 | 68 | "key": "alt+up", |
61 | 69 | "command": "runCommands", |
62 | 70 | "args": { |
63 | | - "commands": ["cursorUp", "editor.gotoPreviousFold"] |
| 71 | + "commands": [ |
| 72 | + "cursorUp", |
| 73 | + "editor.gotoPreviousFold" |
| 74 | + ] |
64 | 75 | }, |
65 | 76 | "when": "editorTextFocus" |
66 | 77 | }, |
67 | 78 | { |
68 | 79 | "key": "shift+alt+down", |
69 | 80 | "command": "runCommands", |
70 | 81 | "args": { |
71 | | - "commands": ["cursorLineEndSelect", "editor.action.selectFromAnchorToCursor"] |
| 82 | + "commands": [ |
| 83 | + "cursorLineEndSelect", |
| 84 | + "editor.action.selectFromAnchorToCursor" |
| 85 | + ] |
72 | 86 | }, |
73 | 87 | "when": "editorTextFocus && selectionAnchorSet" |
74 | 88 | }, |
75 | 89 | { |
76 | 90 | "key": "shift+alt+down", |
77 | 91 | "command": "runCommands", |
78 | 92 | "args": { |
79 | | - "commands": ["cursorLineStart", "editor.action.setSelectionAnchor", "cursorDown", "editor.gotoNextFold"] |
| 93 | + "commands": [ |
| 94 | + "cursorLineStart", |
| 95 | + "editor.action.setSelectionAnchor", |
| 96 | + "cursorDown", |
| 97 | + "editor.gotoNextFold" |
| 98 | + ] |
80 | 99 | }, |
81 | 100 | "when": "editorTextFocus && !selectionAnchorSet" |
82 | 101 | }, |
83 | 102 | { |
84 | 103 | "key": "shift+alt+up", |
85 | 104 | "command": "runCommands", |
86 | 105 | "args": { |
87 | | - "commands": ["cursorLineStartSelect", "editor.action.selectFromAnchorToCursor"] |
| 106 | + "commands": [ |
| 107 | + "cursorLineStartSelect", |
| 108 | + "editor.action.selectFromAnchorToCursor" |
| 109 | + ] |
88 | 110 | }, |
89 | 111 | "when": "editorTextFocus && selectionAnchorSet" |
90 | 112 | }, |
91 | 113 | { |
92 | 114 | "key": "shift+alt+up", |
93 | 115 | "command": "runCommands", |
94 | 116 | "args": { |
95 | | - "commands": ["cursorLineEnd", "editor.action.setSelectionAnchor", "cursorUp", "editor.gotoPreviousFold"] |
| 117 | + "commands": [ |
| 118 | + "cursorLineEnd", |
| 119 | + "editor.action.setSelectionAnchor", |
| 120 | + "cursorUp", |
| 121 | + "editor.gotoPreviousFold" |
| 122 | + ] |
96 | 123 | }, |
97 | 124 | "when": "editorTextFocus && !selectionAnchorSet" |
98 | 125 | }, |
|
0 commit comments