If you set up speech to text like voxtype, you won't even have to type the prompt into the AI and can do your programming almost entirely by voice.

I don't have RSI, but I do this whenever my arms get tired to make sure I don't end up with it.