Last active
May 26, 2016 06:25
-
-
Save wangtai/7f89faa0ecdabeaf6ffd to your computer and use it in GitHub Desktop.
Karabiner Mapping Control + HJKL on Arrow keys. Mapping Control + D/U on Page Down/Up. Control + Delete_Left on Delete_Right
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
List of KeyCode | |
https://github.com/tekezo/Karabiner/blob/version_10.4.0/src/bridge/generator/keycode/data/KeyCode.data | |
List of ModifierCode | |
https://github.com/tekezo/Karabiner/blob/version_10.4.0/src/bridge/generator/keycode/data/ModifierFlag.data | |
List of ConsumerKeyCode | |
https://github.com/tekezo/Karabiner/blob/version_10.4.0/src/bridge/generator/keycode/data/ConsumerKeyCode.data | |
List of PointingButton | |
https://github.com/tekezo/Karabiner/blob/version_10.4.0/src/bridge/generator/keycode/data/PointingButton.data | |
--> | |
<root> | |
<item> | |
<name>Mapping hjkl on left up down and right</name> | |
<identifier>private.mapping_hjkl_on_arrow</identifier> | |
<autogen>__KeyToKey__ | |
KeyCode::H, ModifierFlag::CONTROL_L, | |
KeyCode::CURSOR_LEFT | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::J, ModifierFlag::CONTROL_L, | |
KeyCode::CURSOR_DOWN | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::K, ModifierFlag::CONTROL_L, | |
KeyCode::CURSOR_UP | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::L, ModifierFlag::CONTROL_L, | |
KeyCode::CURSOR_RIGHT | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::D, ModifierFlag::CONTROL_L | ModifierFlag::NONE, | |
KeyCode::PAGEDOWN | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::U, ModifierFlag::CONTROL_L | ModifierFlag::NONE, | |
KeyCode::PAGEUP | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::DELETE, ModifierFlag::CONTROL_L, | |
KeyCode::FORWARD_DELETE | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::BACKQUOTE, | |
KeyCode::ESCAPE | |
</autogen> | |
<autogen>__KeyToKey__ | |
KeyCode::ESCAPE, | |
KeyCode::BACKQUOTE | |
</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment