Last active
August 10, 2017 16:28
-
-
Save F1LT3R/a4e22a4ec70c90c17d09606f40f2ee9d to your computer and use it in GitHub Desktop.
Karabiner-Elements - Caps Move Vim - complex_modifications rules
This file contains 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": "Caps Move Vim", | |
"rules": [ | |
{ | |
"description": "Change Capslock + H/J/K/L to Arrow Keys", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": ["caps_lock"], | |
"optional": ["any"] | |
} | |
}, | |
"to": [{"key_code": "up_arrow"}] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": ["caps_lock"], | |
"optional": ["any"] | |
} | |
}, | |
"to": [{"key_code": "left_arrow"}] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": ["caps_lock"], | |
"optional": ["any"] | |
} | |
}, | |
"to": [{"key_code": "down_arrow"}] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": ["caps_lock"], | |
"optional": ["any"] | |
} | |
}, | |
"to": [{"key_code": "right_arrow"}] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment