Map Control+Delete to Forward Delete

I use a wireless Apple keyboard at home and a wired (full sized) one at work. Now I constantly get confused when I want to do a forward delete, since I'm used to the fn+delete combination.

Is it possible to somehow map control+delete to do the same thing? (control is in the same location as fn on the full size keyboard)


Solution 1:

You can do this with Karabiner with a private.xml such as this:

<?xml version="1.0"?>
<root>
  <item>
    <name>Forward Delete with ⌃⌫</name>
    <identifier>private.ctrlbackspace</identifier>
    <autogen>
      __KeyToKey__
      KeyCode::DELETE, VK_CONTROL | ModifierFlag::NONE,
      KeyCode::FORWARD_DELETE
    </autogen>
  </item>
</root>