How to map Mx to the `` '' key in emacs 24 (Mac OS X Lion)

I downloaded Emacs 24 for Mac OS X and used the Prelude + evil kit. I proceed from the vim background and find that Mx is too slow and painful. Is there a way to map the Mx key to the key that is next to the ESC key? Thank.

+3
source share
2 answers
(global-set-key (kbd "`") 'execute-extended-command)
+4
source

find that Mx is too slow and painful to use

I’m a touch machine, and it seems to me that this is so, and I also think that all the shortcuts are C-xalso very difficult to make.

Is there a way to map the Mx key to the key next to the ESC key?

, ESC "" : , ( , , "" ).

, QWERTY, C-x C-,

, - : -, . , C-x C-, M-x M-, ?

, , :

(define-key global-map [(control ,)] ctl-x-map)

, , ( , SO):

(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)

, , "" C- M-, .

, scottfrazer ( , .emacs):

Emacs

+2

All Articles