Ever since I upgraded to Mountain Lion, key repeat has stopped working. Here is how you enable the key repeat in Mountain Lion. Open the terminal and type the following command. Then make sure you restart your machine.
defaults write -g ApplePressAndHoldEnabled -bool false
That’s it!
~srs