You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
197 lines
4.1 KiB
JSON
197 lines
4.1 KiB
JSON
{
|
|
"title": "Escape to Hyper + VIM Navigation keys",
|
|
"rules": [
|
|
{
|
|
"description": "Escape to Hyper or ESCAPE",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "escape",
|
|
"modifiers": {
|
|
"optional": [ "any" ]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_shift",
|
|
"modifiers": [
|
|
"left_control",
|
|
"left_command",
|
|
"left_option"
|
|
]
|
|
}
|
|
],
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "escape"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Hyper + h/j/k/l = Arrow Keys",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "k",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "up_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "h",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "left_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "j",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "down_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "l",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "right_arrow"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Hyper + y/u/i/o = Navigation",
|
|
"manipulators": [
|
|
{
|
|
"from": {
|
|
"key_code": "y",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "home"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "u",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "page_down"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "i",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "page_up"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
},
|
|
{
|
|
"from": {
|
|
"key_code": "o",
|
|
"modifiers": {
|
|
"mandatory": [
|
|
"left_shift",
|
|
"left_command",
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "end"
|
|
}
|
|
],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|