tags:

views:

158

answers:

2

I'd like to re-map my EMACS to put the most common commands on the home row. Which commands are the most common? Is there some way I could measure this? Has someone already attempted this?

+9  A: 

The most common command is probably self-insert-command, but that's already bound to most keys directly. :)

Randal Schwartz
Smartass. ` ` +1
dmckee
Hah! You are technically correct. (The best kind of correct)
Derek Thurn
+7  A: 

I'd say it depends on the user. So measure your own most-frequently used:

http://xahlee.org/emacs/command-frequency.el

And although Randal was mostly making a joke, self-insert-command is my most frequently used, consistently around 20-25%.

If you take a look at the web page for command-frequency, you'll see that the most common commands are:

  • self-insertion
  • movement
  • isearch
  • paste
  • save-buffer ...
scottfrazer
@scottfrazer I added some more details, expanding on the package..
Trey Jackson