-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprivate.xml
99 lines (93 loc) · 3.67 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
<!-- This files goes in ~/Library/Application Support/Karabiner/ -->
<?xml version="1.0"?>
<root>
<item>
<name>ProtoTyping</name>
<modifierdef>PROTOTYPING_DELETE</modifierdef>
<item>
<name>ProtoType for more hands</name>
<identifier vk_config="true">notsave.prototyping</identifier>
<autogen>__KeyToKey__
KeyCode::F,
KeyCode::SHIFT_L,
</autogen>
<autogen>__KeyToKey__
KeyCode::D,
KeyCode::VK_MODIFIER_PROTOTYPING_DELETE,
</autogen>
<autogen>__KeyToKey__
KeyCode::S,
KeyCode::OPTION_L,
</autogen>
<autogen>__KeyToKey__
KeyCode::J, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::DELETE
</autogen>
<autogen>__KeyToKey__
KeyCode::L, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::FORWARD_DELETE
</autogen>
<autogen>__KeyToKey__
KeyCode::U, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::DELETE, ModifierFlag::OPTION_L
</autogen>
<autogen>__KeyToKey__
KeyCode::O, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::FORWARD_DELETE, ModifierFlag::OPTION_L
</autogen>
<autogen>__KeyToKey__
KeyCode::I, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L,
KeyCode::CURSOR_LEFT, ModifierFlag::SHIFT_L | ModifierFlag::COMMAND_L,
KeyCode::CURSOR_LEFT, ModifierFlag::SHIFT_L,
KeyCode::DELETE,
</autogen>
<autogen>__KeyToKey__
KeyCode::K, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L,
KeyCode::CURSOR_RIGHT, ModifierFlag::SHIFT_L | ModifierFlag::COMMAND_L,
KeyCode::CURSOR_RIGHT, ModifierFlag::SHIFT_L,
KeyCode::DELETE,
</autogen>
<autogen>__KeyToKey__
KeyCode::SEMICOLON, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::CURSOR_RIGHT, ModifierFlag::SHIFT_L | ModifierFlag::COMMAND_L,
KeyCode::DELETE,
</autogen>
<autogen>__KeyToKey__
KeyCode::H, ModifierFlag::PROTOTYPING_DELETE | ModifierFlag::CONTROL_L,
KeyCode::CURSOR_LEFT, ModifierFlag::SHIFT_L | ModifierFlag::COMMAND_L,
KeyCode::DELETE,
</autogen>
<autogen>__KeyToKey__ KeyCode::J, ModifierFlag::CONTROL_L, KeyCode::CURSOR_LEFT</autogen>
<autogen>__KeyToKey__ KeyCode::K, ModifierFlag::CONTROL_L, KeyCode::CURSOR_DOWN</autogen>
<autogen>__KeyToKey__ KeyCode::I, ModifierFlag::CONTROL_L, KeyCode::CURSOR_UP</autogen>
<autogen>__KeyToKey__ KeyCode::L, ModifierFlag::CONTROL_L, KeyCode::CURSOR_RIGHT</autogen>
<autogen>__KeyToKey__
KeyCode::U, ModifierFlag::CONTROL_L,
KeyCode::CURSOR_LEFT, ModifierFlag::OPTION_L
</autogen>
<autogen>__KeyToKey__
KeyCode::O, ModifierFlag::CONTROL_L,
KeyCode::CURSOR_RIGHT, ModifierFlag::OPTION_L
</autogen>
<autogen>__KeyToKey__
KeyCode::SEMICOLON, ModifierFlag::CONTROL_L,
KeyCode::CURSOR_RIGHT, ModifierFlag::COMMAND_L
</autogen>
<autogen>__KeyToKey__
KeyCode::H, ModifierFlag::CONTROL_L,
KeyCode::CURSOR_LEFT, ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Left Control activates ProtoType mode</name>
<identifier>private.prototyping</identifier>
<autogen>
__KeyToKey__
KeyCode::CONTROL_L,
KeyCode::VK_CONFIG_SYNC_KEYDOWNUP_notsave_prototyping, ModifierFlag::CONTROL_L
</autogen>
</item>
</item>
</root>