Joel J. Adamson | 10 Jul 21:45
Picon
Gravatar

Re: How to type when using Emacs?

SomeDeveloper <somedeveloper <at> gmail.com> writes:

> Saw an article or two on the Net (
> http://steve.yegge.googlepages.com/effective-emacs ) where the authors
> are recommending swapping CAPS and CTRL keys. Not sure if this by
> itself would be enough, or if I would need to also break standard
> typing rules?

Sorry, forgot to fill this in:

I do recommend making the key to the left of "A" a control key; it has
saved me a lot of motion and increased my speed while using Emacs.
However, it's hard to remember that for my wife's desktop, it's still
Caps Lock, and sometimes I end up repeating my typing.

Here's my .Xmodmap file (in case you're using a Unix-like system):

clear lock
!move the control function to the caps lock key
keycode 66 = Control_L
!make the menu key the Caps_Lock key
!keycode 117 = Caps_Lock
!move the menu function to the Left control key 
keycode 37 = Menu
!add lock = Caps_Lock
add control = Control_L

With this modification, by chance, the "menu key" is now "M-x"

Joel
--

-- 
Joel J. Adamson
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj
http://trashbird1240.blogspot.com


Gmane