|
1 | 1 | // Place your key bindings in this file to override the defaults |
2 | 2 | [ |
3 | | - { |
4 | | - "key": "cmd+y", |
5 | | - "command": "redo", |
6 | | - "when": "textInputFocus && !editorReadonly" |
7 | | - }, |
8 | | - { |
9 | | - "key": "shift+cmd+z", |
10 | | - "command": "-redo", |
11 | | - "when": "textInputFocus && !editorReadonly" |
12 | | - }, |
| 3 | + // Source Controlビューへフォーカス移動 |
13 | 4 | { |
14 | 5 | "key": "shift+alt+g", |
15 | | - "command": "workbench.scm.focus" |
| 6 | + "command": "workbench.scm.focus", |
16 | 7 | }, |
| 8 | + // Cursor拡張: AIでコミットメッセージを生成 |
17 | 9 | { |
18 | 10 | "key": "ctrl+cmd+g", |
19 | | - "command": "cursor.generateGitCommitMessage" |
| 11 | + "command": "cursor.generateGitCommitMessage", |
20 | 12 | }, |
| 13 | + // Git: 変更を一括ステージ |
21 | 14 | { |
22 | 15 | "key": "ctrl+cmd+s", |
23 | | - "command": "git.stageAll" |
| 16 | + "command": "git.stageAll", |
24 | 17 | }, |
| 18 | + // Cursor: Unified Sidebarの表示切り替え |
25 | 19 | { |
26 | 20 | "key": "alt+cmd+s", |
27 | 21 | "command": "workbench.action.toggleUnifiedSidebarFromKeyboard", |
28 | | - "when": "cursor.agentIdeUnification.enabled == true && !isAuxiliaryWindowFocusedContext" |
| 22 | + "when": "cursor.agentIdeUnification.enabled == true && !isAuxiliaryWindowFocusedContext", |
29 | 23 | }, |
| 24 | + // ワークスペース全体のシンボル検索(Go to Symbol in Workspace) |
30 | 25 | { |
31 | 26 | "key": "shift+cmd+o", |
32 | | - "command": "workbench.action.showAllSymbols" |
| 27 | + "command": "workbench.action.showAllSymbols", |
33 | 28 | }, |
| 29 | + // 既定のCmd+T(Go to Symbol in Workspace)を解除して別用途に再割り当て |
34 | 30 | { |
35 | 31 | "key": "cmd+t", |
36 | | - "command": "-workbench.action.showAllSymbols" |
37 | | - }, |
38 | | - { |
39 | | - "key": "cmd+shift+o", |
40 | | - "command": "-workbench.action.gotoSymbol" |
| 32 | + "command": "-workbench.action.showAllSymbols", |
41 | 33 | }, |
| 34 | + // 現在フォーカス中のエディターグループにTerminal Editorタブを新規追加 |
42 | 35 | { |
43 | 36 | "key": "cmd+t", |
44 | | - "command": "workbench.action.createTerminalEditorSameGroup" |
45 | | - } |
| 37 | + "command": "workbench.action.createTerminalEditorSameGroup", |
| 38 | + }, |
46 | 39 | ] |
0 commit comments