I've developped a case of emacs pinky from pressing C-x too much. Ideally, I would like to use the space bar instead of control as a prefix command since it is much easier to press and hold with the thumb. Pressing and releasing space should still add a space but pressing Space+x simultaneously should be bindable to a command. For example:
(local-set-key (kbd "SPC-s") 'search-forward)
Does anyone have any ideas on how this could be implemented? Is it possible to do it using only elisp or would I have to modify the emacs source and compile my own version?
I would prefer a solution which is OS independent since I use emacs on both Windows and Linux.
EDIT: I have tried key-chord.el which helps in some cases but not all (C-x C-s). I would prefer a minor mode such as holding-space-is-control or holding-space-is-meta
EDIT: Thanks for all the replies. I'm currently using key-chord to map many C-* command to j* or f* depending on if * is a left or right hand key. For example, I've replace C-x b with jb. It works fine for all commands you typically type once but not for commands you use repeatedly (such as forward or backward-paragraph). It is the best cross-platform solution so far since it only requires a custom .emacs and the key-chord.el file. I would prefer a solution which requires less remapping and reduces the risk of typing "fyi" and getting "< yank >i". I believe using space could work but I don't know enough about the technical details of emacs to make it work.
I've considered replacing Caps-Lock or Alt with Ctrl but that only helps for the left pinky. Many common commands are executed using the right pinky (C-x, C-s, C-w, C-y).