-
Notifications
You must be signed in to change notification settings - Fork 0
/
karabiner.xml
33 lines (29 loc) · 970 Bytes
/
karabiner.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
<?xml version="1.0"?>
<root>
<item>
<name>Remap Caps Lock to Hyper with Escape on tap</name>
<appendix>OS X doesn't have a Hyper. This maps caps lock (actually F19) to Control + Shift + Option + Command, unless you tap it. Then it sends Escape.</appendix>
<identifier>caps_lock_to_hyper_or_escape</identifier>
<autogen>
--KeyOverlaidModifier--
KeyCode::F19,
KeyCode::COMMAND_L,
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,
KeyCode::ESCAPE
</autogen>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_VIM</name>
<url>file:///Applications/MacVim.app</url>
</vkopenurldef>
</item>
<item>
<name>Danish escape</name>
<identifier>danish.escape</identifier>
<autogen>__KeyToKey__ KeyCode::DANISH_DOLLAR, KeyCode::ESCAPE</autogen>
</item>
<item>
<name>FN click</name>
<identifier>fn.click</identifier>
<autogen>__KeyToKey__ KeyCode::FN, PointingButton::LEFT</autogen>
</item>
</root>