I posted this already on a carpal tunnel thread that didn't get many upvotes, but I think it's useful enough to repost.
I eliminated most of my keyboard induced problems with a split keyboard in a vertical layout. I use this keyboard:
http://www.kinesis-ergo.com/freestyle_mac.htm
And I made one of these out of a cardboard box and duct tape:
http://www.kinesis-ergo.com/images/solo-ascent-90_512x390.jp...
This avoids torsion in the forearms and prevents you from bending your wrists.