Skip to content

Commit f66c6a5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e0b1629 commit f66c6a5

File tree

9 files changed

+82
-82
lines changed

9 files changed

+82
-82
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"bindings": [
33
{
4-
"context": "Chat",
54
"bindings": {
65
"ctrl+s": "not:a:valid:action"
7-
}
6+
},
7+
"context": "Chat"
88
}
99
]
1010
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"bindings": [
33
{
4-
"context": "Chat",
54
"bindings": {
65
"ctrl+k": "command:invalid command with spaces"
7-
}
6+
},
7+
"context": "Chat"
88
}
99
]
1010
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"bindings": [
33
{
4-
"context": "NonExistentContext",
54
"bindings": {
65
"ctrl+c": "app:interrupt"
7-
}
6+
},
7+
"context": "NonExistentContext"
88
}
99
]
1010
}

src/schemas/json/claude-code-keybindings.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://json.schemastore.org/claude-code-keybindings.json",
4-
"description": "Keyboard shortcut configuration for Claude Code.\nhttps://code.claude.com/docs/en/keybindings",
5-
"title": "Claude Code Keybindings",
6-
"type": "object",
7-
"properties": {
8-
"$schema": {
9-
"description": "JSON Schema URL for editor validation",
10-
"type": "string"
11-
},
12-
"$docs": {
13-
"description": "Documentation URL",
14-
"type": "string"
15-
},
16-
"bindings": {
17-
"description": "Array of keybinding blocks, each scoping bindings to a UI context",
18-
"type": "array",
19-
"items": {
20-
"$ref": "#/$defs/keybindingBlock"
21-
}
22-
}
23-
},
24-
"required": ["bindings"],
25-
"additionalProperties": false,
264
"$defs": {
275
"keybindingBlock": {
286
"description": "A block of keybindings for a specific UI context",
@@ -170,5 +148,27 @@
170148
"type": "string",
171149
"pattern": "^command:[a-zA-Z0-9:\\-_]+$"
172150
}
173-
}
151+
},
152+
"description": "Keyboard shortcut configuration for Claude Code.\nhttps://code.claude.com/docs/en/keybindings",
153+
"title": "Claude Code Keybindings",
154+
"type": "object",
155+
"properties": {
156+
"$schema": {
157+
"description": "JSON Schema URL for editor validation",
158+
"type": "string"
159+
},
160+
"$docs": {
161+
"description": "Documentation URL",
162+
"type": "string"
163+
},
164+
"bindings": {
165+
"description": "Array of keybinding blocks, each scoping bindings to a UI context",
166+
"type": "array",
167+
"items": {
168+
"$ref": "#/$defs/keybindingBlock"
169+
}
170+
}
171+
},
172+
"required": ["bindings"],
173+
"additionalProperties": false
174174
}
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,112 @@
11
{
22
"bindings": [
33
{
4-
"context": "Global",
54
"bindings": {
65
"ctrl+c": "app:interrupt"
7-
}
6+
},
7+
"context": "Global"
88
},
99
{
10-
"context": "Chat",
1110
"bindings": {
1211
"enter": "chat:submit"
13-
}
12+
},
13+
"context": "Chat"
1414
},
1515
{
16-
"context": "Autocomplete",
1716
"bindings": {
1817
"tab": "autocomplete:accept"
19-
}
18+
},
19+
"context": "Autocomplete"
2020
},
2121
{
22-
"context": "Confirmation",
2322
"bindings": {
2423
"y": "confirm:yes"
25-
}
24+
},
25+
"context": "Confirmation"
2626
},
2727
{
28-
"context": "Help",
2928
"bindings": {
3029
"escape": "help:dismiss"
31-
}
30+
},
31+
"context": "Help"
3232
},
3333
{
34-
"context": "Transcript",
3534
"bindings": {
3635
"escape": "transcript:exit"
37-
}
36+
},
37+
"context": "Transcript"
3838
},
3939
{
40-
"context": "HistorySearch",
4140
"bindings": {
4241
"escape": "historySearch:cancel"
43-
}
42+
},
43+
"context": "HistorySearch"
4444
},
4545
{
46-
"context": "Task",
4746
"bindings": {
4847
"ctrl+z": "task:background"
49-
}
48+
},
49+
"context": "Task"
5050
},
5151
{
52-
"context": "ThemePicker",
5352
"bindings": {
5453
"s": "theme:toggleSyntaxHighlighting"
55-
}
54+
},
55+
"context": "ThemePicker"
5656
},
5757
{
58-
"context": "Settings",
5958
"bindings": {
6059
"/": "settings:search"
61-
}
60+
},
61+
"context": "Settings"
6262
},
6363
{
64-
"context": "Tabs",
6564
"bindings": {
6665
"tab": "tabs:next"
67-
}
66+
},
67+
"context": "Tabs"
6868
},
6969
{
70-
"context": "Attachments",
7170
"bindings": {
7271
"backspace": "attachments:remove"
73-
}
72+
},
73+
"context": "Attachments"
7474
},
7575
{
76-
"context": "Footer",
7776
"bindings": {
7877
"enter": "footer:openSelected"
79-
}
78+
},
79+
"context": "Footer"
8080
},
8181
{
82-
"context": "MessageSelector",
8382
"bindings": {
8483
"up": "messageSelector:up"
85-
}
84+
},
85+
"context": "MessageSelector"
8686
},
8787
{
88-
"context": "DiffDialog",
8988
"bindings": {
9089
"escape": "diff:dismiss"
91-
}
90+
},
91+
"context": "DiffDialog"
9292
},
9393
{
94-
"context": "ModelPicker",
9594
"bindings": {
9695
"left": "modelPicker:decreaseEffort"
97-
}
96+
},
97+
"context": "ModelPicker"
9898
},
9999
{
100-
"context": "Select",
101100
"bindings": {
102101
"enter": "select:accept"
103-
}
102+
},
103+
"context": "Select"
104104
},
105105
{
106-
"context": "Plugin",
107106
"bindings": {
108107
"i": "plugin:install"
109-
}
108+
},
109+
"context": "Plugin"
110110
}
111111
]
112112
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"bindings": [
33
{
4-
"context": "Global",
54
"bindings": {
65
"ctrl+c": "app:interrupt",
76
"ctrl+d": "app:exit"
8-
}
7+
},
8+
"context": "Global"
99
},
1010
{
11-
"context": "Chat",
1211
"bindings": {
13-
"enter": "chat:submit",
1412
"ctrl+e": "chat:externalEditor",
15-
"ctrl+z": "chat:undo"
16-
}
13+
"ctrl+z": "chat:undo",
14+
"enter": "chat:submit"
15+
},
16+
"context": "Chat"
1717
}
1818
]
1919
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"bindings": [
33
{
4-
"context": "Chat",
54
"bindings": {
6-
"ctrl+k ctrl+s": "chat:submit",
7-
"ctrl+k ctrl+c": "command:commit"
8-
}
5+
"ctrl+k ctrl+c": "command:commit",
6+
"ctrl+k ctrl+s": "chat:submit"
7+
},
8+
"context": "Chat"
99
}
1010
]
1111
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"bindings": [
33
{
4-
"context": "Chat",
54
"bindings": {
6-
"ctrl+s": null,
5+
"ctrl+h": "command:help",
76
"ctrl+k": "command:commit",
8-
"ctrl+h": "command:help"
9-
}
7+
"ctrl+s": null
8+
},
9+
"context": "Chat"
1010
}
1111
]
1212
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"$schema": "https://json.schemastore.org/claude-code-keybindings.json",
32
"$docs": "https://code.claude.com/docs/en/keybindings",
3+
"$schema": "https://json.schemastore.org/claude-code-keybindings.json",
44
"bindings": [
55
{
6-
"context": "Chat",
76
"bindings": {
87
"ctrl+s": "chat:submit"
9-
}
8+
},
9+
"context": "Chat"
1010
}
1111
]
1212
}

0 commit comments

Comments
 (0)