-
Notifications
You must be signed in to change notification settings - Fork 4
/
private.xml
165 lines (144 loc) · 5.33 KB
/
private.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0"?>
<root>
<devicevendordef>
<vendorname>APPLE_INC</vendorname>
<vendorid>0x05ac</vendorid>
</devicevendordef>
<devicevendordef>
<vendorname>APPLE_COMPUTER</vendorname>
<vendorid>0x05ac</vendorid>
</devicevendordef>
<devicevendordef>
<vendorname>Apple_Bluetooth</vendorname>
<vendorid>0x004c</vendorid>
</devicevendordef>
<devicevendordef>
<vendorname>TYPEMATRIX</vendorname>
<vendorid>0x1e54</vendorid>
</devicevendordef>
<devicevendordef>
<vendorname>Kinesis</vendorname>
<vendorid>0x05f3</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x0259</productname>
<productid>0x0259</productid>
</deviceproductdef>
<deviceproductdef>
<productname>Advantage_MPC</productname>
<productid>0x0007</productid>
</deviceproductdef>
<item>
<name>Map F19 to Ctrl + A</name>
<identifier>private.map+f19_to_ctrl+a</identifier>
<autogen>
__KeyToKey__
KeyCode::F19,
KeyCode::A, ModifierFlag::CONTROL_L
</autogen>
</item>
<item>
<name>Swap Apple L to Apple Enter</name>
<identifier>private.swap_apple+l_to_apple+enter</identifier>
<device_only>DeviceVendor::APPLE_INC, DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x0259</device_only>
<autogen>
__KeyToKey__
KeyCode::L, ModifierFlag::COMMAND_L,
KeyCode::RawValue::0x24, ModifierFlag::COMMAND_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::RawValue::0x24, ModifierFlag::COMMAND_L,
KeyCode::L, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Swap Command e to Command `</name>
<identifier>private.swap_command+e_to_command+`</identifier>
<device_only>DeviceVendor::APPLE_INC, DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x0259</device_only>
<autogen>
__KeyToKey__
KeyCode::E, ModifierFlag::COMMAND_L,
KeyCode::BACKQUOTE, ModifierFlag::COMMAND_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::BACKQUOTE, ModifierFlag::COMMAND_L,
KeyCode::E, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Swap Command e to Command ` Kinesis</name>
<identifier>private.swap_command+e_to_command+` Kinesis</identifier>
<device_only>DeviceVendor::Kinesis, DeviceProduct::Advantage_MPC</device_only>
<autogen>
__KeyToKey__
KeyCode::E, ModifierFlag::COMMAND_R,
KeyCode::BACKQUOTE, ModifierFlag::COMMAND_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::BACKQUOTE, ModifierFlag::COMMAND_R,
KeyCode::E, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Rebind Run Command for XCode</name>
<identifier>private.rebind_run_for_xcode</identifier>
<!-- Swap Control R and Apple R for XCode to keep consistent -->
<only>XCODE</only>
<device_only>DeviceVendor::APPLE_INC, DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x0259</device_only>
<device_only>DeviceVendor::Kinesis, DeviceProduct::Advantage_MPC</device_only>
<autogen>
__KeyToKey__
KeyCode::R, ModifierFlag::COMMAND_L,
KeyCode::R, ModifierFlag::CONTROL_L
</autogen>
<autogen>
__KeyToKey__
KeyCode::R, ModifierFlag::CONTROL_L,
KeyCode::R, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Rebind Hide Command</name>
<identifier>RebindHideCommand</identifier>
<device_only>DeviceVendor::APPLE_INC, DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x0259</device_only>
<autogen>__KeyToKey__
KeyCode::H, ModifierFlag::COMMAND_L,
KeyCode::G, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Rebind Hide Command Kinesis</name>
<identifier>RebindHideCommandKinesis</identifier>
<device_only>DeviceVendor::Kinesis, DeviceProduct::Advantage_MPC</device_only>
<autogen>__KeyToKey__
KeyCode::H, ModifierFlag::COMMAND_R,
KeyCode::G, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Map right shift to CAPS</name>
<appendix>(Change right shift key to caps lock key in internal keyboard.)</appendix>
<identifier>MapRightShiftToCAPS</identifier>
<device_only>DeviceVendor::APPLE_INC, DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x0259</device_only>
<autogen>__KeyToKey__ KeyCode::SHIFT_R, KeyCode::CAPSLOCK</autogen>
</item>
<item>
<name>Two keys in rapid succession toggles Normal Mode</name>
<identifier>remap.vimnormal_jthenk_toggle</identifier>
<!--<not>{{UBIQUITOUS_VIM_BINDINGS_IGNORE_APPS}}</not>-->
<not>{{VIM_EMU_IGNORE_APPS}}</not>
<autogen>
__SimultaneousKeyPresses__
@begin
KeyCode::K, KeyCode::J
@end
@begin
KeyCode::K, KeyCode::J
@end
Option::SIMULTANEOUSKEYPRESSES_STRICT_KEY_ORDER,
</autogen>
</item>
</root>