mirror of
https://github.com/Ajetski/dotfiles.git
synced 2025-09-30 14:33:18 -09:00
207 lines
4.4 KiB
JSON
207 lines
4.4 KiB
JSON
{
|
|
"title": "Ajet's Config",
|
|
"rules": [
|
|
{
|
|
"description": "forward delete",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"simultaneous": [
|
|
{
|
|
"key_code": "equal_sign"
|
|
},
|
|
{
|
|
"key_code": "delete_or_backspace"
|
|
}
|
|
],
|
|
"modifiers": {
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "delete_forward"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "easy enter",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"simultaneous": [
|
|
{
|
|
"key_code": "n"
|
|
},
|
|
{
|
|
"key_code": "m"
|
|
}
|
|
],
|
|
"modifiers": {
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "return_or_enter"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "easy backspace",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"simultaneous": [
|
|
{
|
|
"key_code": "j"
|
|
},
|
|
{
|
|
"key_code": "k"
|
|
}
|
|
],
|
|
"modifiers": {
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [
|
|
{
|
|
"key_code": "delete_or_backspace"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "home row modifiers",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "a",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "a"
|
|
}
|
|
],
|
|
"to_if_held_down": [
|
|
{
|
|
"key_code": "left_control",
|
|
"modifiers": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "s",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "s"
|
|
}
|
|
],
|
|
"to_if_held_down": [
|
|
{
|
|
"key_code": "left_shift",
|
|
"modifiers": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "d",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "d"
|
|
}
|
|
],
|
|
"to_if_held_down": [
|
|
{
|
|
"key_code": "left_option",
|
|
"modifiers": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "f",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "f"
|
|
}
|
|
],
|
|
"to_if_held_down": [
|
|
{
|
|
"key_code": "left_command",
|
|
"modifiers": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "caps lock to escape or meh if held",
|
|
"manipulators": [
|
|
{
|
|
"type": "basic",
|
|
"from": {
|
|
"key_code": "caps_lock",
|
|
"modifiers": {
|
|
"optional": [
|
|
"any"
|
|
]
|
|
}
|
|
},
|
|
"to_if_alone": [
|
|
{
|
|
"key_code": "escape"
|
|
}
|
|
],
|
|
"to_if_held_down": [
|
|
{
|
|
"key_code": "left_shift",
|
|
"modifiers": [
|
|
"left_control",
|
|
"left_option"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|