Typical complex_modifications examples
Swap ; and : (Equal to swap ; and shift-;) [ { "type": "basic", "from": { "key_code": "semicolon", "modifiers": { "mandatory": ["shift"], "optional": ["caps_lock"] } }, "to": [ { "key_code": "semicolon" } ] }, { "type": "basic", "from": { "key_code": "semicolon", "modifiers": { "optional": ["caps_lock"] } }, "to": [ { "key_code": "semicolon", "modifiers": ["left_shift"] } ] } ] Change control-h to delete And change control-option-h to option-delete.
https://karabiner-elements.pqrs.org/docs/json/typical-complex-modifications-examples/