Skip to content

Commit e5e351f

Browse files
committed
Add optional Xcode rule: Use Control+H to focus prev editor
1 parent b528a43 commit e5e351f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"title": "[Xcode]",
3+
"rules": [
4+
{
5+
"manipulators": [
6+
{
7+
"conditions": [
8+
{
9+
"bundle_identifiers": [
10+
"^com\\.apple\\.dt\\.Xcode$"
11+
],
12+
"type": "frontmost_application_if"
13+
}
14+
],
15+
"description": "[Xcode] Use control+h to move focus to previous editor. To use this, configure Xcode's \"Move Focus to Next Editor\" keyboard shortcut to ⌃l (control+l).",
16+
"from": {
17+
"key_code": "h",
18+
"modifiers": {
19+
"mandatory": [
20+
"control"
21+
]
22+
}
23+
},
24+
"to": [
25+
{
26+
"key_code": "l",
27+
"modifiers": [
28+
"left_shift",
29+
"left_control"
30+
]
31+
}
32+
],
33+
"type": "basic"
34+
}
35+
]
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)