You need to work out.
Over a year ago, I was starting to get the beginning stages of RSI. I smoke and was really overweight. I had never been to a gym.
The thing that fixed my wrists was pushing weights. Putting aside the other workout stuff I do (biking, rowing, and moderate running) because they don't pertain to this discussion, moderate weight lifting is key.
The muscles and tendons in your wrist are weak. Mine certainly were. Adding to that the 8-10 hours a day of keyboard typing, you develop RSI.
When I started using weight machines, my wrists were numb and I had flexibility problems. Simply using upper-body weight machines for several months quickly helped to increase my upper body strength, but more importantly let my wrists develop strength they didn't have before. Ever since my wrist problems have completely vanished.
So yes, ergonomic keyboards are definitely useful, even though I don't personally use one. The text editor you're using has absolutely to fucking do with problems with your wrists. Get an ergo keyboard if you feel like it. It won't hurt and will probably help.
However, if you absolutely want to solve your pain you need to work out. Pushups and upper-body workouts are what you need. No body-building crazy shit, just moderate strength training 2-4 times a week for a half an hour at a time.
On the broader workout subject, weight lifting is the fun part of the workout for me. The biking/rowing bit are just tedious calorie burners. When you lift the weights, you're immediately releasing endorphins into your system. So after a good session, you actually feel good.