- Install Karabiner
- Change the contents of
~/Library/Application Support/Karabiner/private.xml
to:
<?xml version="1.0"?>
<root>
<item>
<name>Delete Word</name>
<identifier>Delete Word</identifier>
<autogen>__KeyToKey__ KeyCode::OPTION_R, KeyCode::DELETE, ModifierFlag::OPTION_L</autogen>
</item>
</root>
- Click
Reload XML
in Karabiner - Check the checkbox next to
Delete Word
at the top - The right alt key will now delete to the beggining of the word