Toggling iterm2 with F12 hotkey on touchbar doesn't work
Turned out the issue was in Karabiner-Elements, after enabling &quot;Apple internal keyboard&quot; under Devices cmd+F12 started to work fine. After all, the issue wasn't in iterm2 ignoring F12 but in the fact that cmd+F12 combination didn't work.