Last active
April 17, 2022 19:47
-
-
Save ninjaPixel/bdef2908dd5359f3d16570c09e17c508 to your computer and use it in GitHub Desktop.
My custom arrow key mappings. The right option key is used to 'shift' into a different mode.
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
{ | |
"title": "Arrows (right_alt || right_control) v0.2.0", | |
"rules": [ | |
{ | |
"description": "right_alt + e = up", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_alt" | |
] | |
}, | |
"key_code": "e" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "up_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_alt + d = down", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_alt" | |
] | |
}, | |
"key_code": "d" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "down_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_alt + f = right", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_alt" | |
] | |
}, | |
"key_code": "f" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "right_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_alt + s = left", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_alt" | |
] | |
}, | |
"key_code": "s" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "left_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_alt + t = page up", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_alt" | |
] | |
}, | |
"key_code": "t" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "page_up" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_alt + g = page down", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_alt" | |
] | |
}, | |
"key_code": "g" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "page_down" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_control + e = up", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_control" | |
] | |
}, | |
"key_code": "e" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "up_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_control + d = down", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_control" | |
] | |
}, | |
"key_code": "d" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "down_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_control + f = right", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_control" | |
] | |
}, | |
"key_code": "f" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "right_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_control + s = left", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_control" | |
] | |
}, | |
"key_code": "s" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "left_arrow" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_control + t = page up", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_control" | |
] | |
}, | |
"key_code": "t" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "page_up" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "right_control + g = page down", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"right_control" | |
] | |
}, | |
"key_code": "g" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "page_down" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To enable these mappings on MacOS (assuming that you have already installed Karabiner):