Make sure you are really pressing the F and not the G key.
Shortcuts don’t just stop working and changing a shortcut is generally not something you do by mistake without knowing it.
You can also go to File > Defaults > Load Factory Settings. Then you are certain everything works as expected.