How to remap C-x
with key-chord mode.
(key-chord-define-global "uu" 'what-goes-here?)
How to remap C-x
with key-chord mode.
(key-chord-define-global "uu" 'what-goes-here?)
Use (key-chord-define-global "uu" ctl-x-map)
, since ctl-x-map
is
what C-x
is usually bound to.
C-x
. I don't know about this key-chord-define-global
command, but for the standard global-set-key
, you can binds a key to keymap and it becomes a prefix for those bindings. So (global-set-key (kbd "C-z") ctl-x-map)
would make C-z
an alias of C-x
.
key-chord
and tried my suggestion and it works!
Wrong type argument: commandp, ctl-x-map
.
key-chord
package from MELPA to try this (it's version key-chord-20160227.1238). Is that what you're using?
C-x
? Something aboutuu
?C-x
bound to, for you. Normally it's a prefix key. Are you thinking ofM-x
, perhaps?