You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
[23:40:53] <technomancy> milkpost: in 2.0.2 it is. maybe C-h c M-x to check?
[23:41:01] <milkpost> yeah, it's messed up, i am fixing now
[23:41:14] <milkpost> i use C-x C-m for M-x
[23:41:45] <milkpost> technomancy: just found a bug: you have (global-set-key (kbd "C-c x") 'execute-extended-command)
[23:41:54] <milkpost> which means C-c x is not getting mapped to smex
[23:42:59] <milkpost> technomancy: probably what you want is: (define-key key-translation-map (kbd "C-x c") (kbd "M-x"))
[23:43:35] <johnw> ooh, I never knew about the key-translation-map!!
[23:43:43] <technomancy> milkpost: oh, nice.
[23:43:48] <technomancy> can you open an issue?
[23:43:54] <milkpost> sure
[23:43:56] <technomancy> johnw: did you byte-compile smex?
[23:44:04] <milkpost> can I just copy and paste in this conversation? :)
I think you're looking to do (define-key key-translation-map (kbd "C-x c") (kbd "M-x"))
The text was updated successfully, but these errors were encountered:
I don't think my previous suggestion is right. It'd probably work, but what you probably do want is,
(global-set-key (kbd "C-c x") (kbd "M-x"))
I had similar problems and this was the way to go. By changing the key-translation-map you change the key everywhere which is not want you want. Because in some modes you want C-x c mapped completely different. It's not so much a problem here but I rebind things like C-h and the previous suggestion was bad news bears.
I think you're looking to do
(define-key key-translation-map (kbd "C-x c") (kbd "M-x"))
The text was updated successfully, but these errors were encountered: