You'd have to manually edit ~/.config/karabiner/karabiner.json with e.g. BBEdit or TextEdit (better make a backup copy before you start!).
Be aware: your re-mapping would de-activate Apple's Spaces-switching feature!
Anyway, doing so you'd have to go to
"rules": [
and (assuming you mean the right control key) add s.th. like:
"rules": [
{ "description": "Call it whatever you like…",
"manipulators": [ {
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"right_control"
]
}
},
"to": [
{
"key_code": "home"
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"right_control"
]
}
},
"to": [
{
"key_code": "end"
}
]
}
]
}
]
Be aware that the right order and correct corresponding of open and closed brackets of both types is essential!
(As far as I can see there is no way to debug this behaviour; maybe apart from watching Karabiner-Element's open Window while saving the json-file. Your choice of editor can help though, even BBEdit can identify pairs of brackets …)
If what you did is correct, the new behaviour will work instantaneously once you saved the file!
So, if yours is the only Complex Modification, the closing "comma" must NOT be used here … but if you add yours to all previous ones this "comma" must instead be placed in front of your code (meaning: behind the last rule's finishing bracket.
… a bit tricky, this all.
Fn is usually evaluated within the keyboard, before transmission. It doesn't generate its own event.
According to Key Codes, Fn Opt ⌥ Backspace ⌫ generates this data...
Key Down
Characters:
Unicode: 63272 / 0xf728
Keys: ⌥⌦
Key Code: 117 / 0x75
Modifiers: 8913216 / 0x880140 ⓘ
Maybe you could use that to initiate the replacement - I don't use Karabiner so can't test.
*Characters:
doesn't actually generate any printable character on my machine.
Best Answer
If I understand your question correctly, you'd like to have ⌥ Option Esc function like that of remapped Safari's Esc key.
In Karabiner Elements, you have to modify the JSON file and remove the entry making it for Safari only:
You have to remove the following section:
Karabiner-Elements has a number of examples that you can base new keys from. It's also important that your read the manual on how the application functions.