Re:Emacs Pinky
by noelwelsh on Thursday June 02, 2011 @02:16AM
(#2610935)
I maintain that if you're not remapping key you shouldn't be using Emacs -- not just to avoid RSI but also because the whole point of a customisable editor is to well... customise it to suit you better.
Pro tips:
- Don't press multiple keys with one hand. If you're pressing Ctrl-A, press the A with your left hand and control with your right hand.
- Remap common functions onto function keys. They're easy to press and will give your hands a break.
- Look into a Maltron/Kinesis keyboard. I have a Maltron and it pwns hard any other keyboard I've ever used.
Re:Emacs Pinky
by kleiba on Thursday June 02, 2011 @05:36AM
(#2611282)
I don't subscribe to your second "pro tip". I find the function keys especially hard to reach, because I have to move my whole hand on an ordinary keyboard, or press that stupid "fn" key on my netbook.
But also I'd be interested to hear which functions you put there?! I'm sure you put different functions on the keys depending on the mode, but I couldn't even say which functions I use most often - besides self-insert (haha) probably the navigation commands (C-f, C-b, M-f, M-b C-v, M-v etc.), but I'm sure you mean more specific functions.
I do remap mode-specific functions every now and then, so I agree that it can be a good thing. But I usually bind them to C-c something or similar stuff, which I find easy enough to type.
Re:Emacs Pinky
by noelwelsh on Friday June 03, 2011 @05:34PM
(#2618084)
I thought people would disagree w/ the use of function keys. Sure they cost a few keystrokes to hit but I don't find the cost that significant; usually I hit something I've mapped to a fn key when my train of thought has come to an end or been interrupted.
My global binding are below. M-F9 (compile) is the only one I regularly rebind for different modes.
Only having one easily-reached Ctrl key strikes me as a bad idea. Rather than chord a left-hand key with a right-hand Ctrl, you're likely to contort your left hand to do both (I know I used to), which has gotta screw up at least your touch typing habits if not your hand.
Re:Emacs Pinky
by sayemm on Thursday June 02, 2011 @03:23AM
(#2611065)
Yup, I still have my right-hand Ctrl key on guard for my right pinky. Like the comment below, I just swapped the left-hand Ctrl key and Caps-lock, that's definitely helped me.
Re:Emacs Pinky
by kleiba on Thursday June 02, 2011 @05:28AM
(#2611267)
I actually believe that the Emacs Pinky is really a Shift Pinky: with CTRL remapped to Caps Lock, it's quite easy on my hand, because I can keep the pinky in more or less the same position (almost stretched out) most of the time. It's just when I hit the left Shift key that I have to bend the finger, and alternating between Shift and Control is what I find stressful on my Pinky.
Re:Emacs Pinky
by dcolgan on Wednesday June 01, 2011 @11:18PM
(#2610518)
I have reduced a lot of unnecessary hand movement by moving the Control keys to either side of the space bar where the Alt keys normally are, and moving the Alt keys to the keys next to those where the Windows keys usually are. With this I can hit all of the modifier keys with my thumbs.
I also have CapsLock mapped to Backspace, and use the Dvorak keyboard layout. All of these combined minimize strain on my pinkies and the rest of my fingers, reduces the need for hand contortions, and lets stronger fingers do more work.
Re:Emacs Pinky
by throw_away on Wednesday June 01, 2011 @11:32PM
(#2610557)
I don't understand how caps lock has been able to maintain it's prized real estate for so long. I understand the inertia behind why hardware manufacturers are loath to move it, I just don't get why there are still otherwise reasonable people who don't remap it. I map mine to control and also use some of the lesser known C- combo replacements (C-h = backspace, C-[ = escape). I'm a vim user, so dvorak is a bit of a non-starter (hjkl gets all goofed, and once you try to un-goof it, you goof up other commands).
I used to remap CapsLock to Backspace, but gave up because I had one machine -- a 1998 PowerBook (this was obviously before OSX) -- on which I didn't know how to remap it, and changing back and forth was a pain. Once I got used to Backspace in the upper right corner, I no longer had much motivation to change back again. And I don't bother remapping CapsLock to Control because I already have two Control keys.
Also, on most full-size keyboards, I swap around the modifiers so that I can press the Control and Alt keys with the sides of my palms. This works very well. (I put Control on the inside and Alt on the outside, the reverse of the usual PC layout.)
So while I don't consider the standard position of CapsLock to be ideal, in the end it hasn't proven worth the trouble to move it.
Re:Emacs Pinky
by samatman on Thursday June 02, 2011 @12:06AM
(#2610626)
My CapsLock got fired a long time ago and is now a backspace-delete key. One of these days, I plan to finish the job and turn my 'delete' key into a proper forward delete, which my laptop keyboard lacks.
Re:Emacs Pinky
by jshen on Wednesday June 01, 2011 @11:54PM
(#2610598)
"With this I can hit all of the modifier keys with my thumbs"
This might sound crazy, but this is my favorite feature of macs. The apple key is next to the space bar so I can use my thumb as you say, and it's used for all major key combos. I also use it with aquamacs for my most common emacs functions.
Re:Emacs Pinky
by ipince on Thursday June 02, 2011 @02:09AM
(#2610922)
I use my palm to press control, instead of my pinky. I know it sounds really weird, but maybe it helps others. Im also interested in seeing if Im the only weirdo :-)
Re:Emacs Pinky
by bmj on Thursday June 02, 2011 @06:48AM
(#2611408)
Huh. I've been climbing for nearly twenty years now, and coding for about ten, and I never made that correlation. Guess all those hangboard workouts in my basement are good for something.
Re:Emacs Pinky
by johnm on Thursday June 02, 2011 @02:03AM
(#2610909)
Get a Kinesis Advantage (Pro) keyboard. It's by far the best keyboard for coding. It moves all of the control/meta/etc. keys to the thumbs -- yes you can finally utilize both thumbs and it makes a huge difference.
The only downside is that it only comes in one size and so people who have large hands / long fingers might find it too cramped.
Re:Emacs Pinky
by barendt on Thursday June 02, 2011 @12:26AM
(#2610690)
Can anyone recommend a keyboard where key presses are very low impact?
I'm getting Emacs Pinky in most of my fingers and could use something to reduce stress on them. dcolgan's suggest key mappings are something I'm going to try, but a better keyboard can't hurt, either.
Pro tips:
- Don't press multiple keys with one hand. If you're pressing Ctrl-A, press the A with your left hand and control with your right hand.
- Remap common functions onto function keys. They're easy to press and will give your hands a break.
- Look into a Maltron/Kinesis keyboard. I have a Maltron and it pwns hard any other keyboard I've ever used.
But also I'd be interested to hear which functions you put there?! I'm sure you put different functions on the keys depending on the mode, but I couldn't even say which functions I use most often - besides self-insert (haha) probably the navigation commands (C-f, C-b, M-f, M-b C-v, M-v etc.), but I'm sure you mean more specific functions.
I do remap mode-specific functions every now and then, so I agree that it can be a good thing. But I usually bind them to C-c something or similar stuff, which I find easy enough to type.
My global binding are below. M-F9 (compile) is the only one I regularly rebind for different modes.
(define-key global-map [f1] 'vc-dir)
(define-key global-map [f2] 'undo)
(define-key global-map [f3] 'find-file) (define-key global-map [(meta f3)] 'switch-to-buffer)
(define-key global-map [f4] 'set-mark-command) (define-key global-map [f5] 'kill-ring-save) (define-key global-map [(meta f5)] 'kill-region) (define-key global-map [f6] 'yank) (define-key global-map [(meta f6)] 'yank-pop)
(define-key global-map [f7] 'save-buffer) (define-key global-map [(meta f7)] 'kill-buffer)
(define-key global-map [f8] 'start-kbd-macro) (define-key global-map [(meta f8)] 'end-kbd-macro)
(define-key global-map [f9] 'execute-extended-command) (define-key global-map [(meta f9)] 'compile) (define-key global-map [f10] 'eval-expression)
(define-key global-map [f11] 'shell)
(define-key global-map [f12] 'planner-create-task-from-buffer) (define-key global-map [(meta f12)] 'remember)
Does anyone have similar experiences?
You can't be to thin, have too much money or enough control keys. :-)
(There is always capitalize-region. Or I can change back, if I need to write a lot of upper case, which is very unusual.)
I also have CapsLock mapped to Backspace, and use the Dvorak keyboard layout. All of these combined minimize strain on my pinkies and the rest of my fingers, reduces the need for hand contortions, and lets stronger fingers do more work.
Also, on most full-size keyboards, I swap around the modifiers so that I can press the Control and Alt keys with the sides of my palms. This works very well. (I put Control on the inside and Alt on the outside, the reverse of the usual PC layout.)
So while I don't consider the standard position of CapsLock to be ideal, in the end it hasn't proven worth the trouble to move it.
This might sound crazy, but this is my favorite feature of macs. The apple key is next to the space bar so I can use my thumb as you say, and it's used for all major key combos. I also use it with aquamacs for my most common emacs functions.
Typematrix.com keyboards ameliorate this, as do the (not shipping yet) keyboards at trulyergonomic.com
Thumbs should be used for common keys, the Maltron, Kinesis and Typematrix keyboards make this possible.
So does the Alphagrips.com device, which I am eagerly awaiting.
The only downside is that it only comes in one size and so people who have large hands / long fingers might find it too cramped.
I'm getting Emacs Pinky in most of my fingers and could use something to reduce stress on them. dcolgan's suggest key mappings are something I'm going to try, but a better keyboard can't hurt, either.
For options, I'd suggest visiting the Geekhack WorldWide Shopping Links wiki: http://geekhack.org/showwiki.php?title=Geekhack+WorldWide+Sh...