Remap CapsLock to Delete on Sierra

Ah found the solution. Currently the best option, by FAR is:

Karabiner-Elements

Hope somebody else finds this useful as well.


hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x70000002A}]}'

Taken from http://homeowmorphism.com/2017/05/27/Remap-CapsLock-Backspace-Sierra