5

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)

1

2 Answers 2

2

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>
1
  • 1
    I didn't even need a custom XML, there is already a setting in Karabiner for that in the Change Delete Key section under Control+Delete to Forward Delete
    – user14453
    Dec 5, 2014 at 6:11
0

For newer versions of Karabiner-Elements you can import one of the predefined rules that are maintained by the community, or look at the JSON definition of those to see how it's done.

For example the "Map Ctrl+Backspace-Delete to Fn+Backward-Delete (suppr current character)" rule.

See https://ke-complex-modifications.pqrs.org/?q=Map%20Ctrl%2BBackspace-Delete

You must log in to answer this question.