After a very dark period of taking jobs that required less typing (Kafkaesque jobs at mega-corps involving mostly fixing other people's bugs), I'm better now because of:
1) Using an Apple keyboard, which even though it doesn't look ergonomic, the reduced key travel has helped immensely. 2) Using JetBrains' IDEs instead of vim. If you are a bash/vim/tmux (or equivalent) user like I was, try coding in your favorite language in a JetBrains IDE. Automated refactoring and code completion are your friends. 3) Try drinking red wine. The resveratrol in red wine is a natural anti-inflammatory.