3 ms·
I've intermittently had the same problem. Some basic habits you can change to help: Cmd-Tab (and Ctrl/Shift-Tab) should not be done with one hand! Hold down
by nostrademons 9y ago
I've intermittently had the same problem. Some basic habits you can change to help:
Cmd-Tab (and Ctrl/Shift-Tab) should not be done with one hand! Hold down Cmd with your right hand and hit tab with your left. This one change probably helped my "tendonitis claw" more than anything else. Similarly, other keyboard shortcuts should involve holding down the opposite modifier key from the key being pressed.
Let your fingers float above the keyboard. A lot of people rest their wrists on the wrist-rest and try to type; this puts a lot of pressure on the carpal tunnel, and means you have to curl your fingers more.
Two-finger scroll with your wrist & upper arm, not your fingers. It should be a really subtle movement, too, just a few millimeters displacement.
Editor wars aside, vim is better than emacs (& TextMate etc, though emacs is the worst offender) for RSI. Modal editing doesn't require that you hold down modifiers.
Take thinking breaks. When your code is compiling or you have a tough problem, get up and walk around instead of cmd-tabbing to a blog.
Don't let yourself get mad or frustrated at your code. Get up and take a walk or talk to someone instead. This is actually pretty challenging, because I've found that intensive coding tends to shut down the emotional processing parts of my brain. But that's also why it's dangerous: when you aren't consciously processing emotions, they can often get "stuck" as muscle tension; your back and shoulder muscles might remember that you were mad, or your fingers that you were frustrated, even though consciously you don't. Relaxation or meditation exercises can help get muscles un-stuck, but ideally you should be relaxed whenever you're typing.
If all else fails, switch to Dvorak. It's somewhat better for finger-movement than Qwerty, although I'm not sure the benefit outweighs the switching cost unless your fingers are really bothering you.
- odammit 9y agoThanks. I'm going to give these a swing. I'm definitely guilty of going into a k-hole when I work and generally only stopping once I'm hungry. I've stopped resting my wrist. I made a little tack strip that I'd lay on my laptop while I was working to train me not to rest them. Have you tried Dvorak? I've considered it multiple times but always worry about if I'll lose the ability to use a standard keyboard. Although - how often do you use someone else's keyboard :/
- nostrademons 9y agoBeen using Dvorak since college. I did lose the ability to use a standard keyboard for a bit but gained it back. (The switching process is actually quite fascinating from a cognitive POV...there was a point where I would type half a word in Dvorak and half in Qwerty, resulting in nonsense, and then a later period when the keyboard layout I would type in was conditioned by which app was on the screen.) I'd say the speed boost is about 10-15% and it helps quite a bit for RSI, but it was a good year or two before I was back up to my previous Qwerty speeds and fluent on both keyboards, so it takes a while to recoup your investment. A decade and a half later I can say it was worthwhile, but don't expect miracles.