vimremapergonomics

Remap Vim keys to avoid RSI in left hand


I always suffered from RSI in my left wrist (see here) and I thought it was because of the twisting motion associated with hitting the ctrl and shift keys. Therefore, I went ahead and bought an Advantage Kinesis keyboard shown below:

enter image description here

However, even with this keyboard, and foot pedals, and mapping the shift key to the Back Space, I still have RSI, again only in my left hand. Then it occoured to me, a great deal of the movement keys are associated with left hand. Here is a non exhaustive list of the things on the right hand, and then the left hand.

Right Hand:

Now observe

Left Hand:

Now I am sure this is a biased list, but it gets my point across that a great deal of the commonly used motion keys and a few other difficult combinations are situated on the left hand side of the keyboard.

My question is this, is there a non reinventing-the-wheel way to do this? For example are there any libararies that do this? If not, if I switch to DVORAK will this solve any of the problems I mentioned?


Solution

  • To answer your Dvorak question about the keys you mentioned:

    p, o, i, u, y, j, k, e, $, x are typed with the left hand. h, l, (, ), w, b, t, f, d, v, w, g are typed with the right hand.

    So looking at what moves where:

    Stay on Left  |    Move to Left   |  Move to Right   |  Stay on Right    
    ----------------------------------------------------------------------    
    e $ x         |   p o i u y j k   |  w b t f d v w g |  h l ( )
    

    They keys you use are still mostly evenly distributed between left and right hands, but most of the solo-keys are now left-hand, and most of the chorded sequences are right-hand.

    Also, the process of learning Dvorak will slow you down significantly, which can help to reduce the strain on your wrists while you make the transition.

    You can enter a sample of what you regularly type into websites like http://patorjk.com/keyboard-layout-analyzer/ , and see how much more or less distance your fingers have to travel under different keyboard layouts. (There are other neat metrics to look at, too. Click the tabs on the left and explore!)