How to remove defaults write -g InitialKeyRepeat -int 10 Recently, it was suggested to me to run this in my terminal:

defaults write -g InitialKeyRepeat -int 10

but I have found that it is not helping my key strokes, but just adding one more annoyance to my work.

How do I undo this command?
You can delete it using the command defaults delete -g InitialKeyRepeat.

I'm not quite sure what the original value is, so deleting it seems to be your best option. However, some sources seem to indicate that 25 is the original value so you can try setting the value via defaults write -g InitialKeyRepeat -int 25.