<p>I just started using GNU Emacs as my text editor and I am concerned about getting afflicted with "<a href="http://en.wikipedia.org/wiki/Emacs#Emacs_pinky" rel="nofollow noreferrer">Emacs Pinky</a>" by having to constantly press the control key with my pinky finger as is required when using Emacs. How can I avoid potentially getting this type of repetitive strain injury?</p>

[{'answer_id': 52504, 'author': 'Alasdair', 'author_id': 2654, 'author_profile': 'https://Stackoverflow.com/users/2654', 'pm_score': 7, 'selected': True, 'text': '<p>Making <KBD>caps lock</KBD> another control key is a good place to start. Invest in an ergonomic keyboard. Some emacs users even go as far as to get foot pedal things for control and meta...</p>\n'}, {'answer_id': 52507, 'author': 'Ben Collins', 'author_id': 3279, 'author_profile': 'https://Stackoverflow.com/users/3279', 'pm_score': 2, 'selected': False, 'text': '<p>The Microsoft Natural Keyboard has been very, very good for me.  I use emacs for everything 10+ hrs a day with no problems.</p>\n'}, {'answer_id': 52524, 'author': 'Graeme Perrow', 'author_id': 1821, 'author_profile': 'https://Stackoverflow.com/users/1821', 'pm_score': 2, 'selected': False, 'text': "<p>I have a MS natural keyboard as well and it's awesome. I've managed to train myself to use the side of my left hand (below the pinky) to hit the Ctrl key.</p>\n"}, {'answer_id': 52564, 'author': 'Eric Z Beard', 'author_id': 1219, 'author_profile': 'https://Stackoverflow.com/users/1219', 'pm_score': 3, 'selected': False, 'text': '<p>Remap <KBD>Left-Ctrl</KBD> and <KBD>Caps-Lock</KBD> so they are where they should be:</p>\n\n<pre><code>[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,1d,00,1d,00,3a,00,00,00,00,00\n</code></pre>\n\n<p>\xa0</p>\n'}, {'answer_id': 52718, 'author': 'Chris Conway', 'author_id': 1412, 'author_profile': 'https://Stackoverflow.com/users/1412', 'pm_score': 2, 'selected': False, 'text': '<p>Per @Alasdair, remap Ctrl to "Caps Locks" or elsewhere: <a href="http://www.emacswiki.org/cgi-bin/wiki/MovingTheCtrlKey" rel="nofollow noreferrer">instructions for various platforms</a>.</p>\n\n<p>P.S. I\'m a bit surprised this can\'t be done via an elisp function.</p>\n'}, {'answer_id': 53972, 'author': 'gerikson', 'author_id': 3988, 'author_profile': 'https://Stackoverflow.com/users/3988', 'pm_score': 1, 'selected': False, 'text': '<p>One of the first things I do on a new machine is remap Caps Lock to a new Control.</p>\n\n<p>Google around, there are plenty of <code>.reg</code> files available that will do this painlessly for you on Windows.</p>\n'}, {'answer_id': 57224, 'author': 'Ray', 'author_id': 4872, 'author_profile': 'https://Stackoverflow.com/users/4872', 'pm_score': 1, 'selected': False, 'text': '<p>I started using the side\\palm of my hands to hit the control key instead of my pinky fingers. My understanding is that on more ergonomic keyboards the control key button is bigger which makes it easier to perform that motion.</p>\n'}, {'answer_id': 67770, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 4, 'selected': False, 'text': '<p>Get a foot pedal! (I have a kinesis.) After you do, unmap control and capslock so you force yourself to use your feet.</p>\n\n<p>(FYI, remapping capslock will help, but after enough emacsing in one day, will not be a total solution.)</p>\n'}, {'answer_id': 69780, 'author': 'jfm3', 'author_id': 11138, 'author_profile': 'https://Stackoverflow.com/users/11138', 'pm_score': 1, 'selected': False, 'text': '<p>I can use the Control key in either the west or south-west positions without any trouble.  Many Emacsers swear that the control key belongs in the west position and the west position only, and that anything else will ruin your pinky.  The only thing we know for sure causes RSI from typing is too much typing.  Try type-break-mode and see if a few regular breaks help.</p>\n'}, {'answer_id': 84428, 'author': 'EfForEffort', 'author_id': 14113, 'author_profile': 'https://Stackoverflow.com/users/14113', 'pm_score': 1, 'selected': False, 'text': '<p>Buy a <a href="http://pfuca-store.stores.yahoo.net/haphackeylit1.html" rel="nofollow noreferrer">Happy Hacking Keyboard</a> which has Ctrl in The Right Place (Caps Lock is moved elsewhere).  It has excellent response and is configurable via DIP switches for maximum integration on Mac, Windows, and Linux (for example, you can switch what is Alt and what is the Windows key right from the keyboard, no software required).</p>\n\n<p>It also has a very small footprint, if that suits your fancy.</p>\n'}, {'answer_id': 174453, 'author': 'boskom', 'author_id': 20550, 'author_profile': 'https://Stackoverflow.com/users/20550', 'pm_score': 2, 'selected': False, 'text': '<p>My advice would be to <strong>try using your thumbs to press modifier keys (control, alt)</strong> when they are within a reach. On keyboards which have shorter space-bar it is possible to press Alt (Meta) even without bending your thumb inwards. You can remap e.g. right Alt to Control and this way be able to conveniently access both Control and Alt.\nThis is also possible on MS Natural Keyboards.</p>\n'}, {'answer_id': 431118, 'author': 'bendin', 'author_id': 33412, 'author_profile': 'https://Stackoverflow.com/users/33412', 'pm_score': 2, 'selected': False, 'text': '<p>Consider a <a href="https://stackoverflow.com/questions/687/keyboard-for-programmers#2551">Kinesis Contoured</a> keyboard.  It took me about a month to get up to speed with mine and I now consider it to be the ideal Emacs keyboard, even without the foot-pedal. </p>\n\n<p>No joke. I ordered my first one with a food-pedal, but found I wasn\'t actually capable of coordinating the timing of my feet and my hands sufficiently to make much use of it for modifier keys. For a while I used it to toggle the integrated number pad, but I gave that up when I realized I wasn\'t using it because the number row on the Kinesis is so easy to reach.</p>\n'}, {'answer_id': 431140, 'author': 'Vilx-', 'author_id': 41360, 'author_profile': 'https://Stackoverflow.com/users/41360', 'pm_score': 4, 'selected': False, 'text': "<p>For the love of God - use another text editor! If it's something that requires a <strong>foot pedal</strong> to work with it normally, then... well... frankly, I'm speechless. There is a multitude of powerful contemporary text editors out there that don't require you to memorize volumes of arcane keystrokes or buy fancy hardware.</p>\n\n<p>You know, I can understand and accept a lot of things, but a <strong>foot pedal</strong> for a simple text editor is really where I draw the line.</p>\n"}, {'answer_id': 476936, 'author': 'boskom', 'author_id': 20550, 'author_profile': 'https://Stackoverflow.com/users/20550', 'pm_score': 2, 'selected': False, 'text': '<p>One more approach: if you want to avoid getting "emacs pinky" simply <em>do not use pinky to press control key</em>. </p>\n\n<p>If it is necessary remap keys on your keyboard to go in the following order:</p>\n\n<p><strong>[Ctrl][Alt][  Space  ][Alt][Ctrl]</strong></p>\n\n<p>On any standard keyboard (which symmetrically positions modifier keys, e.g. any MS keyboard) now you can press Ctrl key with <strong>ring finger</strong> and Alt key with <strong>middle finger</strong> on both hands. These fingers are much stronger than pinky and can endure frequent use. </p>\n\n<p>Great tool for easily remapping keyboard keys on windows is <a href="http://www.autohotkey.com/" rel="nofollow noreferrer">AutoHotKey</a></p>\n\n<p>On Ubuntu I managed to do it using: Keyboard Preferences / Layouts/ Other options </p>\n'}, {'answer_id': 839219, 'author': 'user78171', 'author_id': 78171, 'author_profile': 'https://Stackoverflow.com/users/78171', 'pm_score': 2, 'selected': False, 'text': '<p>Put the modifiers where they were <a href="http://world.std.com/~jdostale/kbd/SpaceCadet.html" rel="nofollow noreferrer">meant</a> <a href="http://world.std.com/~jdostale/kbd/SpaceCadet1.jpeg" rel="nofollow noreferrer">to</a> <a href="http://www.asl.dsl.pipex.com/symbolics/photos/IO/index.html" rel="nofollow noreferrer">be</a>: on either side of the space-bar, where they can be pressed by the thumb (or other digit of your choice) on the opposite hand from the digit pressing the modified letter (so that C-g is right-thumb on Ctrl and left index on \'g\', and C-k is left-thumb on Ctrl and right middle on \'k\'). You will note that the correct sequence, from inside out, is Ctrl Meta Super Hyper.</p>\n\n<p>How you do this depends on your OS and your keyboard. For Windows, you might like to start <a href="http://blog.splittist.com/2007/07/23/emacs-newbies-dont-swap-ctrl-and-caps-lock/" rel="nofollow noreferrer">here</a>. In Mac OS X you can look in System Preferences > Keyboard &amp; Mouse > Modifier Keys. For Linux, there are a thousand <a href="http://www.xfree86.org/4.2.0/xmodmap.1.html" rel="nofollow noreferrer">xmodmap</a> and <a href="http://en.wikipedia.org/wiki/X_keyboard_extension" rel="nofollow noreferrer">XKB</a> tutorials.</p>\n'}, {'answer_id': 1351886, 'author': 'mzuther', 'author_id': 161979, 'author_profile': 'https://Stackoverflow.com/users/161979', 'pm_score': 2, 'selected': False, 'text': '<p>One solution not yet mentioned here is to use <strong>both</strong> hands for key combinations.</p>\n\n<p>For example, suppose you want to press &lt;CTRL-K&gt;.  On QWERTY-keyboards, &lt;K&gt; is on the right, so press &lt;CTRL&gt; with your <strong>left</strong> hand and &lt;K&gt; with your <strong>right</strong> hand.  Once you get used to the system, it works fine.</p>\n'}, {'answer_id': 1842824, 'author': 'Greg Graham', 'author_id': 87420, 'author_profile': 'https://Stackoverflow.com/users/87420', 'pm_score': 2, 'selected': False, 'text': "<p>Try <em>viper-mode</em>, which is a vi emulator in emacs. As someone who has switched back and forth between vi/emacs/vim several times in the last 25 years, I'm now finally trying viper-mode in emacs, and I like it. I find the vi commands to be more comfortable, but I can still keep the advanced features of emacs that I like.</p>\n"}, {'answer_id': 1842912, 'author': 'Peter Cordes', 'author_id': 224132, 'author_profile': 'https://Stackoverflow.com/users/224132', 'pm_score': 2, 'selected': False, 'text': '<p>I use emacs and bash all day every day, and I have capslock as an extra left-control key, like VT100 intended.  Nobody\'s mentioned the best way to do that on X11, yet.  (actually, this is specific to the X.org/xfree86 X server, which everything uses these days):</p>\n\n<pre>\nsetxkbmap -option ctrl:nocaps\n\n Or edit your xorg.conf to have\nSection "InputDevice"\n        Identifier  "Generic Keyboard"\n        Driver      "kbd"\n        Option      "XkbRules" "xorg"\n        Option      "XkbModel" "pc105"\n        Option      "XkbLayout" "us"\n        Option      "XkbOptions" "ctrl:nocaps"\n        Option      "Autorepeat" "200 40"\nEndSection\n</pre>\n\n<p>(The XkbOptions and Autorepeat are what I added to the pre-generated one.  Then X will start with the right key mapping every time, and you don\'t have to find where to put setxkbmap to have it executed every time you log in and start your window manager.)</p>\n\n<p>Although gnome does have a keyboard manager thing, as boskom mentioned.</p>\n\n<p>FYI, emacs was originally written for MIT lisp machines with <a href="http://en.wikipedia.org/wiki/Space-cadet_keyboard" rel="nofollow noreferrer">"space cadet" keyboards</a>.  X11 has super, hyper, alt and meta modifier keys.  Sometimes the "windows keys" on PC keyboards are mapped to Super.  They\'re handy to bind to window-manager stuff (e.g. switch virtual desktops) because almost no apps normally use them.</p>\n'}, {'answer_id': 2674963, 'author': 'DenverCoder9', 'author_id': 297981, 'author_profile': 'https://Stackoverflow.com/users/297981', 'pm_score': 4, 'selected': False, 'text': '<p><a href="http://www.userfriendly.org/cartoons/archives/07sep/uf010710.gif" rel="noreferrer">alt text http://www.userfriendly.org/cartoons/archives/07sep/uf010710.gif</a></p>\n\n<p><a href="http://ars.userfriendly.org/cartoons/?id=20070910" rel="noreferrer">@ Xiong Chiamiov</a></p>\n'}, {'answer_id': 2969277, 'author': 'pauls', 'author_id': 357860, 'author_profile': 'https://Stackoverflow.com/users/357860', 'pm_score': 4, 'selected': False, 'text': "<p>I have always been curious about why such a large community of programmers, writers, geeks, etc. haven't yet found super simple and effective solution to this problem. Simply: 1) take a small piece of paper, make paper ball of it; 2) use scotch to stick it on to your left ctrl key (temporarily removing it from the place); 3) when writing, use side of your left palm to press that key - now this key is higher than others and you can do it easily. That way you don't need to buy uber ergo-keyboards, or remap ctrl key to capslock (which you eventually will push with your pinky anyway)... </p>\n\n<p>So much discussions about such a small problem.</p>\n"}, {'answer_id': 2976688, 'author': 'Chow', 'author_id': 329956, 'author_profile': 'https://Stackoverflow.com/users/329956', 'pm_score': 3, 'selected': False, 'text': '<p>I totally agree with the remap caps-lock solution, that helps quite a bit.\nTo go even further, I tried and liked the <a href="http://code.google.com/p/ergoemacs/" rel="noreferrer">Ergoemacs keybindings</a>. The project is being  actively developed, and supported quite well. I personally don\'t use it because it\'s not integrated with Mac OS X (some EMACS Keys are integrated in Cocoa), though it seems someone has posted an inputrc file with Ergoemacs keybindings.\nAnother trick I\'ve been playing with is enabling StickyKeys. It\'s supported on many platforms and alleviates some of the problems specific to chording (as opposed to just overuse): it is apparently recommended on the emacswiki: <a href="http://www.emacswiki.org/emacs/StickyModifiers" rel="noreferrer">http://www.emacswiki.org/emacs/StickyModifiers</a></p>\n'}, {'answer_id': 3060755, 'author': 'Xah Lee', 'author_id': 369203, 'author_profile': 'https://Stackoverflow.com/users/369203', 'pm_score': 2, 'selected': False, 'text': '<p>to Chow,</p>\n\n<p>yesterday i found a solution that we can have system wide ErgoEmacs keybinding on the mac.</p>\n\n<p>The trick is to use mac os x\'s keybinding system so that you have system wide ErgoEmacs keybinding with the Control key. Then, in OS preference, swap the Control and Cmd key.</p>\n\n<p>So that, you get ErgoEmacs keybinding system wide with the modifier beside the space bar. The draw back is of course that normal mac Cmd+key is now at the corner of keyboard. So, it\'s a trade off, about whether you use most apps for text editing, or the app\'s shortcuts.</p>\n\n<p>might give it a shot here:\n<a href="http://code.google.com/p/ergoemacs/wiki/ErgoEmacs_keys_system_wide" rel="nofollow noreferrer">http://code.google.com/p/ergoemacs/wiki/ErgoEmacs_keys_system_wide</a></p>\n\n<p>also, few years back i tried the mac\'s os wide custome keybinding, some cocoa apps still doesn\'t support it. See bottom here</p>\n\n<p>• <a href="http://xahlee.org/emacs/osx_keybinding.html" rel="nofollow noreferrer">How To Create Keybinding In Mac OS X</a></p>\n\n<p>but perhaps things are better now. </p>\n'}, {'answer_id': 3603024, 'author': 'rob', 'author_id': 435215, 'author_profile': 'https://Stackoverflow.com/users/435215', 'pm_score': 1, 'selected': False, 'text': "<p>Since this thread is still kinda going, I'll add my two cents:</p>\n\n<p>With or without emacs, the ctrl key is useful for tons of stuff on linux or windows: copy, cut, paste, find, close, quit... I use this stuff constantly. So as others have suggested, I want that near the spacebar so I can use my thumb. And that's how it is by default on a mac, where all that stuff uses the cmd key:</p>\n\n<p>[ctrl] [alt] [cmd] [spacebar]</p>\n\n<p>So, I use a mac keyboard on my linux box, and set up the cmd key as a second ctrl key (In Ubuntu Lucid: Keyboard Prefs > Layouts > Options > Alt/Win Key Behavior > Control is mapped to Win keys (and the usual Ctrl keys))</p>\n\n<p>[ctrl] [alt] [ctrl] [spacebar]</p>\n\n<p>Other benefits:\n* When I need to use a mac sometimes, cut/paste/etc are all in the same place I'm used to.\n* ctrl+tab (with the real ctrl key) still moves through tabs for browsers and other apps, on both platforms.</p>\n\n<p>The drawback to this plan is that the alt key has moved to the left, so the alt+tab command (which I use for window switching) no longer matches the mac equivalent cmd+tab. But I can still hit it with my thumb, and it's still, to me, a far lesser evil than destroying my pinky. Yeah, I know I could just make ctrl+tab the window switcher, but then the real ctrl key doesn't work for tab switching. Besides, with apps moving into the browser, the window/tab navigational strategies are gonna be in flux for a while -- but the basics like cut/paste aren't going anywhere, so I want them locked down. Under my thumb.</p>\n\n<p>(Of course, if you wanted to use emacs on a mac, I guess you'd be back at square one...)</p>\n"}, {'answer_id': 4889892, 'author': 'roadrunner', 'author_id': 601920, 'author_profile': 'https://Stackoverflow.com/users/601920', 'pm_score': 1, 'selected': False, 'text': '<p>I actually did my own hack to avoid using the ctrl key. I use now the SPACEBAR key.\n<a href="https://github.com/r0adrunner/Space2Ctrl" rel="nofollow">This</a> small program for X changes the behavior of the space bar, so that when it is used in a combination, it adds the control modifier to it. When used alone, it behaves normally on release.\nThat way you don\'t have to use your pinky at all! Worked perfectly for me.</p>\n'}, {'answer_id': 8935973, 'author': 'teika kazura', 'author_id': 780703, 'author_profile': 'https://Stackoverflow.com/users/780703', 'pm_score': 5, 'selected': False, 'text': '<p>Configure so that the space bar works <em>both</em> as space and control; when the <kbd>space</kbd> is pressed alone, as a space, and pressed with others, as <kbd>ctrl</kbd>. So <kbd>Space</kbd> + <kbd>x</kbd> is treated as <kbd>Ctrl</kbd> + <kbd>x</kbd>.</p>\n\n<p>You can do it with AutoHotKey in Windows, and with "<a href="https://gitlab.com/at-home-modifier/at-home-modifier-evdev/wikis/home" rel="nofollow noreferrer">at-home-modifier</a>" in Xorg in Linux. (X, but Linux only.) You can use <a href="https://pqrs.org/osx/karabiner/" rel="nofollow noreferrer">Karabiner</a> (formaly known as <em>keyremap4macbook</em>) in Mac. (In fact, I <strong>am</strong> the author of at-home-modifier. =)</p>\n\n<p>You can do more, if you have a keyboard with many keys around the space, like Japanese keyboards:<a href="http://www.owltech.co.jp/products/keyboard/KB86STD/KB86STD_B-320.jpg" rel="nofollow noreferrer">Japanese keyboard http://www.owltech.co.jp/products/keyboard/KB86STD/KB86STD_B-320.jpg</a></p>\n\n<p>My bottom row is basically <kbd>Esc</kbd><kbd>BS</kbd><kbd>Space</kbd><kbd>Enter</kbd><kbd>Tab</kbd>, but when used as modifiers, it\'s <kbd>Alt</kbd><kbd>Shift</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>Alt</kbd>. (For example, if you hold down <kbd>Esc</kbd> first and then Space, it\'s <kbd>Alt</kbd>+<kbd>Space</kbd>, but Space followed by <kbd>Esc</kbd>, it\'s <kbd>Ctrl</kbd>+<kbd>Esc</kbd>. If you press <kbd>Space</kbd>, <kbd>Esc</kbd>, and <kbd>x</kbd>, then it\'s <kbd>ctrl</kbd> + <kbd>alt</kbd> + <kbd>x</kbd>.) <em>All</em> can be pressed with the <em>thumbs</em>. You can order a Japanese keyboard from say amazon.com. You don\'t have to speak Japanese.</p>\n\n<p>This is extremely handy. For firefox (sorry, not emacs) for example, focus a link, and press Ctrl + Enter; then it\'ll be opened in a new tab. (By also pressing Shift, it\'ll switch to the new tab, rather than staying on the current.)</p>\n\n<p>(The above picture is the one <a href="https://stackoverflow.com/users/780703/teika-kazura">the author of at-home-modifier</a> uses. The maker doesn\'t sell this model any more, though.)</p>\n'}, {'answer_id': 9944030, 'author': 'TacticalCoder', 'author_id': 988052, 'author_profile': 'https://Stackoverflow.com/users/988052', 'pm_score': 3, 'selected': False, 'text': '<p>First I\'d like to point out that suggesting not to use Emacs because the default keybindings may not be for everyone doesn\'t make any sense.  Emacs is the most configurable "text editor" ever made and so, of course, trivial things like keymappings are fully configurable.</p>\n\n<p>Regarding the "Emacs pinky" issue, I noticed that several people have "anti-Emacs-pinky" keybindings in their <em>.emacs</em>, like user "Paul Nathan" (17.5k rep as I type this) here:</p>\n\n<p><a href="https://stackoverflow.com/questions/5682631/what-are-good-custom-keybindings-in-emacs">What are good custom keybindings in emacs?</a></p>\n\n<p>Then it is known for a fact that many people prefer the <em>vi</em> way and user Emacs\' viper-mode.</p>\n\n<p>I think that the major issue in Emacs is, by default, over-reliance on CTRL and more specifically C-x and C-f / C-b.  These three are really terrible because it means, IMHO, painful fingers distortion.</p>\n\n<p>So to me first the problem has to be defined: what is the issue?  The issue is an over-reliance by default on CTRL, the fact that CTRL is typically badly located on most keyboards and the fact that most keyboard out there (I\'d guesstimate more than 99.9% of all keyboards ever produced) are total pieces of junk.</p>\n\n<p>So what is <em>my</em> solution to this?</p>\n\n<ul>\n<li>I use a good mechanical keyboard and I do touch-type.  People really serious about this will probably shell out $$$ for a very good split &amp; matrix keyboard (like the Kinesis Advantage)... Because split <strong>and</strong> matrix are the only kind of keyboards that makes sense from an ergonomic point of view (this is not even open for debate).  I, sadly, have been typing for three decades and cannot adapt to matrix layout, so I\'m using an old (flawed) staggered keyboard.  If you\'re going to use a staggered keyboard, at least take one that has  a good switch (for example buckling springs like in the IBM Model M or Cherry MX switches or Topres like in the Happy Hacking Keyboard Pro).  Be ready to shell out $500 and more if you hope to find a split + "mechanical" staggered, like the Cherry MX-5000 (*) or the IBM M15. </li>\n</ul>\n\n<p><em>So: in short, if you\'re really serious about this, go for a Kinesis Advantage (they\'re using Cherry MX switches and you can even choose your specific switch if I\'m not mistaken).</em></p>\n\n<p>If, like me, you sadly cannot adapt to these wonderful keyboards because they\'re "too different", then go for a good "mechanical" keyboard.  Any keyboard allowing not to "bottom out" while typing will save your fingers\' joints.  Helps after decades of programming.</p>\n\n<p>If you don\'t want to go the "mechanical" route and think rubber domes are fine keyboards (I consider them junk but each it\'s preference), then at least choose a good rubber dome.  MS\' Ergo 4K would be a good choice (once again: it\'s rubber dome so to me it\'s a finger-destroying junk, but it\'s a matter of taste).</p>\n\n<ul>\n<li><p>once you\'re using a good keyboard, remap CAPS-LOCK to CTRL.  Can be done on any OS.  It\'s trivial and there are plenty of links on the subject.</p></li>\n<li><p>Remap Emacs\' keys to stop over-relying on CTRL.  First CTRL-x is terrible.  It really has to be the worst shortcut ever.  But you can remap ctl-x-map to what you want.  I do this in my remapping minor mode:</p>\n\n<p>(define-key my-keys-minor-mode-map (kbd "C-,") ctl-x-map)</p></li>\n</ul>\n\n<p>C-, might not suit you: pick something else...</p>\n\n<p>Then there\'s the issue of cursor movement.  I think it\'s a big one for "text editor".  Even if tend to use all the fine Emacs functions to quickly move around the text buffers instead of "moving the cursor", I still do need to move the cursor "manually" quite often.</p>\n\n<p>C-f / C-b have to be the two most stupid shortcuts to move the cursor ever.</p>\n\n<p>I use M-{i,j,k,l}.  So people prefer {hjkl} instead of {ijkl} but I like {ijkl} because it reproduce the inverted T-arrow.  I also like the fact that when, as a touch-typist, you\'re in your home row, you already have three fingers on {jkl}.  No crazy finger motion to reach \'f\' or \'b\': makes no sense.</p>\n\n<p>Last but not least: when you\'re not typing, do <strong>rest</strong> your fingers on your keyboard.  For this of course you need a keyboard with a good switch which has enough resistance not to activate when you\'re simply resting your keys on your keyboard.</p>\n'}, {'answer_id': 12342971, 'author': 'Arne Babenhauserheide', 'author_id': 7666, 'author_profile': 'https://Stackoverflow.com/users/7666', 'pm_score': 3, 'selected': False, 'text': '<p>I use the excellent <a href="http://emacswiki.org/emacs/key-chord.el">key-chord mode</a> for common actions.  You can give it functions or key sequences to call.</p>\n\n<p>To make sure I do not obstruct normal typing too much, I generated letter statistics to find good key chords. I recorded them along with <a href="https://bitbucket.org/ArneBab/.emacs.d/src/fa39f444b3b3/lisplets/stenochords.el">my default chords</a>.</p>\n\n<p>Additionally to more convenient command-calling, I have chords for inserting stuff like </p>\n\n<pre><code>Best wishes,\nArne\n</code></pre>\n\n<p>I hate writing emails without that ☺</p>\n\n<p>Also I use <a href="http://www.emacswiki.org/emacs/ControlLock">control lock mode</a> for things like flyspell, where I need control all the time. That’s modal editing with real emacs shortcuts.</p>\n\n<p>The chords I use the most are</p>\n\n<pre class="lang-lisp prettyprint-override"><code>; buffer actions\n(key-chord-define-global "vg"     \'eval-region)\n(key-chord-define-global "vb"     \'eval-buffer)\n(key-chord-define-global "cy"     \'yank-pop)\n(key-chord-define-global "cg"     "\\C-c\\C-c")\n(key-chord-define-global "äü"     \'control-lock-toggle)\n\n; frame actions\n(key-chord-define-global "xo"     \'other-window);\n(key-chord-define-global "x1"     \'delete-other-windows)\n(key-chord-define-global "x0"     \'delete-window)\n(defun kill-this-buffer-if-not-modified ()\n  (interactive)\n  ; taken from menu-bar.el\n  (if (menu-bar-non-minibuffer-window-p)\n      (kill-buffer-if-not-modified (current-buffer))\n    (abort-recursive-edit)))\n(key-chord-define-global "xk"     \'kill-this-buffer-if-not-modified)\n\n; file actions\n(key-chord-define-global "bf"     \'ido-switch-buffer)\n(key-chord-define-global "cf"     \'ido-find-file)\n(key-chord-define-global "zs"     "\\C-x\\C-s")\n(key-chord-define-global "vc"     \'vc-next-action)\n</code></pre>\n'}, {'answer_id': 17559451, 'author': 'incandescentman', 'author_id': 1252975, 'author_profile': 'https://Stackoverflow.com/users/1252975', 'pm_score': 2, 'selected': False, 'text': "<p>Even after remapping <KBD>capslock</KBD> to become <KBD>control</KBD>, you still have to use your pinky to press it - at least I do, because my ring finger won't reach it for a command like <KBD>C-g</KBD>. Using your pinky at all is not recommended, right? </p>\n\n<p>I'm on a MacBook Pro and I've just remapped the <KBD>⌘</KBD> on the right side of the keyboard to become <KBD>control</KBD>. So that way, for instance, <KBD>C-g</KBD> becomes a keystroke I execute with both hands, my right-hand thumb on <KBD>⌘</KBD> and my left forefinger on <KBD>g</KBD>.</p>\n\n<p>We'll see if that helps with my RSI. Anyone else done this? </p>\n"}, {'answer_id': 20020063, 'author': 'David Gruen', 'author_id': 2999621, 'author_profile': 'https://Stackoverflow.com/users/2999621', 'pm_score': 1, 'selected': False, 'text': '<p>I am not a programmer and I also have a hard time explaining ideas. I am on a dell mini laptop. The mouse touchpad is in a spot where my thumbs rest.\nMy left touchpad button acts as a control key:\nWith the side of my thumb I press it and edit in emacs as usual.\nI was going to map the right touchpad button to alt, but instead I have done the\nfollowing:\nI press the button and the control key gets pressed (locked).\nI press it again and controll gets released.\nThis not only made my pinky feel better it also made my editing twice as fast. (according\nto my org-mode clocks)\nIt is hard to explain how nice it works.\nIn order to do this I used the following two aplications:\nxbindkeys\nxdotool\nMy xbindkeys config file:</p>\n\n<pre><code>###########################\n# xbindkeys configuration #\n###########################\n# left mouse button ctrl key\n"xdotool keydown ctrl"\nb:1\n"xdotool keyup ctrl"\ncontrol + b:1  +  Release\n# vi wanna be style editing\n"xdotool keydown ctrl"\nrelease+b:3\n"xdotool keyup ctrl"\nrelease+control+b:3\n# -------------------------\n</code></pre>\n\n<p>Before experimenting with these ideas make sure to read the man pages.\nDo not have anything important open. I had to kill my window manager a few times\nbefore getting it correct. \nnotes:\nI use xmodmap to do all the regular stuff i.e. caps ---> control (not a full solution), swapping alt and control. (on a laptop It is ok but my thumbs cramp up)\nI use the window manager config file (stumpwm) to create bindings to load the proper key mapping\nfile. (depending on my mood for the day)\nI am sure all this can be implemented in a different environment.\nMy pink pain is gone, my editing is faster.</p>\n'}, {'answer_id': 22286676, 'author': 'Nishant', 'author_id': 452102, 'author_profile': 'https://Stackoverflow.com/users/452102', 'pm_score': 1, 'selected': False, 'text': '<p>Try the God-Mode plugin that is not bad . </p>\n'}, {'answer_id': 25173251, 'author': 'Sasanga Abeywickrama', 'author_id': 1258508, 'author_profile': 'https://Stackoverflow.com/users/1258508', 'pm_score': 0, 'selected': False, 'text': '<p>\nJust to overcome this issue I remap all the copy,paste,save...etc into numpad.For further ease I bought a separate numpad and place it behind my laptop key board.</p>\n\n<p><img src="https://i.stack.imgur.com/zBQUO.jpg" /></p>\n\n<p>\nYou can easily remap the keys using AHK(auto hot key).I am using the following key mappings script,\n</p>\n\n<pre><code>NumpadIns::^s\nNumpadEnd::^c\nNumpadDown::^v\nNumpadPgDn::^x\nNumpadLeft::^+v\nNumpadClear::Control\nNumpadRight::^a\nNumpadHome::q\nNumpadUp::Tab\nNumpadDel::^f\nNumpadEnter::Space\n</code></pre>\n\n<p>\n1 : copy <br/>\n2 : paste <br/>\n0 : save <br/>\n\netc....\n\n\n</p>\n'}, {'answer_id': 30517673, 'author': 'Adrian Chira', 'author_id': 4942300, 'author_profile': 'https://Stackoverflow.com/users/4942300', 'pm_score': 0, 'selected': False, 'text': '<p>Assuming the key in the left lower corner of the keyboard is control (which is for standard keyboards), it\'s very easy to just lower your palm and it will press the Ctrl key. No pinky involved. It\'s so easy and fast I love it. I only use the pinky for the other keys above the Ctrl key (Shift, Caps, etc.). For Alt, Windows key, Function key (when using my laptop) on the left side I use my left thumb (right thumb for space). I use Ctrl the same way for combinations of hot keys that include Ctrl. </p>\n\n<p>I only use right Left Ctrl key. I use Right Ctrl as "super" modifier (mapped to F23 in autohotkey which then is mapped to supper in emacs).</p>\n\n<p>It may seem odd at first to press Ctrl this way but after some usage becomes super easy (it only requires a slight lowering of the hand/palm) - to me it\'s almost as easy as when no hotkey (Ctrl) is pressed. I see this difference as I\'m now learning emacs and learning to do the same on the right side (for AppKey and Right Control key and Down and End for my laptop).</p>\n\n<p>Here\'s my ahk code:</p>\n\n<pre><code>#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.\nSendMode Input  ; Recommended for new scripts due to its superior speed and      reliability.\nSetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.\n\n^#e:: Gosub, start_emacs\n^#c:: Gosub, start_capture\n\n#IfWinActive emacs@ ahk_class Emacs\n\nUp::Return ; to not interfere with pressing &lt;Down&gt;\n\n; F21 = Alt\nRAlt::F21\n\n; F23 = Super\nRCtrl::F23\n\n#IfWinActive\n\nexit\n\nstart_emacs:\nIfWinExist emacs@ ahk_class Emacs\n    WinActivate\nelse\n    Run c:\\bin\\emacs\\bin\\runemacs.exe\n    WinMaximize\nreturn\n\nstart_capture:\n    Gosub, start_emacs\n    SendInput {Ctrl down}xf{Ctrl up} {ctrl down}{shift down}{backspace}{ctrl up}{shift up}\n    SendInput ~/org/capture.org {enter}\n    SendInput {Alt down}x{Alt up} org-capture {enter}\nreturn\n</code></pre>\n\n<p>Here\'s what I have in my .emacs:</p>\n\n<pre><code>                    ; prevent single key press from activating the given key\n;; http://emacs.1067599.n5.nabble.com/w32-pass-rwindow-to-system-td144902.html\n(setq w32-pass-lwindow-to-system nil\n  w32-pass-rwindow-to-system nil\n  w32-pass-apps-to-system nil)\n                ; make sure the given key is not used as a modifier\n(setq w32-lwindow-modifier nil\n  w32-rwindow-modifier nil\n  w32-apps-modifier nil) ; Menu/App key\n                ; misc\n(setq w32-recognize-altgr nil) ; C+M works: http://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-Keyboard.html\n                ; A-alt\n(define-key local-function-key-map (kbd "&lt;f21&gt;") \'event-apply-alt-modifier) ; RAlt in ahk\n                ; H-hyper\n(define-key local-function-key-map (kbd "&lt;f22&gt;") \'event-apply-hyper-modifier) \n(define-key local-function-key-map (kbd "&lt;menu&gt;") \'event-apply-hyper-modifier)\n(define-key local-function-key-map (kbd "&lt;apps&gt;") \'event-apply-hyper-modifier) \n(define-key local-function-key-map (kbd "&lt;lwindow&gt;") \'event-apply-hyper-modifier)\n(define-key local-function-key-map (kbd "&lt;down&gt;") \'event-apply-hyper-modifier)\n                ; s-super\n(define-key local-function-key-map (kbd "&lt;f23&gt;") \'event-apply-super-modifier) ; RCtrl in ahk\n(define-key local-function-key-map (kbd "&lt;right&gt;") \'event-apply-super-modifier) \n(define-key local-function-key-map (kbd "&lt;rwindow&gt;") \'event-apply-super-modifier)\n</code></pre>\n'}, {'answer_id': 38941578, 'author': 'blackmiaool', 'author_id': 4831179, 'author_profile': 'https://Stackoverflow.com/users/4831179', 'pm_score': 0, 'selected': False, 'text': '<p><a href="https://i.stack.imgur.com/Hdsh1.jpg" rel="nofollow noreferrer">My Keyboard</a></p>\n\n<p><a href="https://i.stack.imgur.com/Hdsh1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hdsh1.jpg" alt="enter image description here"></a>\nJust make a keyboard with short space key!</p>\n'}]
['https://Stackoverflow.com/questions/52492', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4872/']