I've lost the functionality of my ]
on my keyboard. Previously I used Karabiner to map [ + option
to ]
, however now that I've updated to Sierra, this doesn't work.
I've seen this post: How do I remap a key in macOS Sierra, e.g., Right Alt to Right Control?
However is there a way to map 2 keys to a single key using hidutil property
?
Specifically, I'd like to map [ + option
to ]
I've tried a few iterations including:
hidutil property --set '{"UserKeyMapping": [{["HIDKeyboardModifierMappingSrc":0x70000002f "HIDKeyboardModifierMappingSrc":0x7000000e2], "HIDKeyboardModifierMappingDst":0x700000030}]}'
and
hidutil property --set '{"UserKeyMapping": [{"HIDKeyboardModifierMappingSrc":[0x70000002f, 0x7000000e2], "HIDKeyboardModifierMappingDst":0x700000030}]}'
Neither of these worked