Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>find that M-x is too slow and painful to use</p> </blockquote> <p>I'm a touch-typist and I happen to think the same and I also think that, in addition, all the <code>C-x</code> shortcuts are very hard to do too.</p> <blockquote> <p>Is there any way to map M-x key to ` key that is near the ESC key?</p> </blockquote> <p>I would say that the ESC key is not really a "close" key: your left pinky has to travel a lot to get there (you either need to move your entire hand, which is not efficient, or you need to "stretch" your fingers).</p> <p>What I did, on a QWERTY keyboard, is to remap <code>C-X</code> to <code>C-,</code> </p> <p>You may want to do something similar: in my opinion it really helps. So maybe mapping <code>C-x</code> to <code>C-,</code> and <code>M-x</code> to <code>M-,</code> would help?</p> <p>You can do this like the other answer suggested by directly setting a global key:</p> <pre><code>(define-key global-map [(control ,)] ctl-x-map) </code></pre> <p>or you can define your own minor-mode where you put all your mappings and then turn that minor mode on (I learned that here on SO):</p> <pre><code>(define-key my-keys-minor-mode-map (kbd "C-,") ctl-x-map) (define-key my-keys-minor-mode-map (kbd "M-,") 'execute-extended-command) ... put more mappings here ... (define-minor-mode my-keys-minor-mode "A minor mode so that my key settings override annoying major modes." t " my-keys" 'my-keys-minor-mode-map) (my-keys-minor-mode 1) </code></pre> <p>Or course you "lose" the previous mappings to C-, and M-, but IMHO it's totally worth it.</p> <p>You probably want to read user <em>scottfrazer</em>'s great answer and explanation here (that's what I followed to create my own key minor-mode in my <em>.emacs</em> file):</p> <p><a href="https://stackoverflow.com/questions/683425/globally-override-key-binding-in-emacs">Globally override key binding in Emacs</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload