Never mind. It turns out I had a workflow called Jump that was using the letter 'g' as a shortcut.
That's why 'g' could not be the first letter in a word or line.