How to reverse the F keys default functionality
Solution 1:
System Preferences -> Keyboard -> Keyboard tab -> check "Use all F1, F2, etc. keys as standard function keys"
UPDATE: If you have a touch bar Mac you'll want System Preferences -> Keyboard -> Keyboard tab -> "Touch Bar shows" -> "F1, F2, etc. Keys"
Solution 2:
You can also invert single keys with FunctionFlip:
Solution 3:
And Paula allows you to set the global F1-F12 vs "special key" mode based on the focused application.