A small utility that lets you do this on a per input basic too. http://kevingessner.com/software/functionflip/
Nice! I’m not sure that would have helped though - I switch on the setting that allows using the F-keys without the Fn key. Of those F-keys, only F4 was completely inactive - pressing F1 would send ^[[OP, F2 would send ^[[OQ and so on - only F4 would remain completely mute. I have no idea what’s going on there, but this ought to fix it (:
Do you use hammerspoon? Because it’d be a nice way to solve this whole problem ..
In what way?
You can have per-app detection and enable it when you need it.