100 lines
3.8 KiB
JSON
100 lines
3.8 KiB
JSON
{
|
|
"global": {
|
|
"ask_for_confirmation_before_quitting": false,
|
|
"show_in_menu_bar": false
|
|
},
|
|
"profiles": [
|
|
{
|
|
"complex_modifications": {
|
|
"rules": [
|
|
{
|
|
"description": "Left ctrl + hjkl 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": "l",
|
|
"modifiers": {
|
|
"mandatory": ["left_control"],
|
|
"optional": ["any"]
|
|
}
|
|
},
|
|
"to": [{ "key_code": "right_arrow" }],
|
|
"type": "basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"devices": [
|
|
{
|
|
"identifiers": { "is_keyboard": true },
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "caps_lock" },
|
|
"to": [{ "key_code": "escape" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"product_id": 620,
|
|
"vendor_id": 76
|
|
},
|
|
"simple_modifications": [
|
|
{
|
|
"from": { "key_code": "caps_lock" },
|
|
"to": [{ "key_code": "escape" }]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"is_keyboard": true,
|
|
"is_pointing_device": true,
|
|
"product_id": 45081,
|
|
"vendor_id": 1133
|
|
},
|
|
"ignore": false,
|
|
"mouse_flip_horizontal_wheel": true
|
|
}
|
|
],
|
|
"name": "Default profile",
|
|
"selected": true,
|
|
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
|
}
|
|
]
|
|
} |