Skip to content

Instantly share code, notes, and snippets.

@lovelock
Created August 3, 2020 01:06
Show Gist options
  • Save lovelock/09e3446242eeaa57253af6fb7aaf867b to your computer and use it in GitHub Desktop.
Save lovelock/09e3446242eeaa57253af6fb7aaf867b to your computer and use it in GitHub Desktop.
HHKB key modificaton for Karabiner-elelments
{
"title": "Left ctrl + hjkf to Arrow Keys Vim",
"rules": [
{
"description": "Left ctrl + hjkf to arrow keys Vim",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "f",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment