How to remap C-x
with key-chord mode.
(key-chord-define-global "uu" 'what-goes-here?)
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityHow 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
.
– Omar
Oct 11 '18 at 14:12
key-chord
and tried my suggestion and it works!
– Omar
Oct 11 '18 at 16:30
Wrong type argument: commandp, ctl-x-map
.
– tjb
Oct 12 '18 at 4:18
key-chord
package from MELPA to try this (it's version key-chord-20160227.1238). Is that what you're using?
– Omar
Oct 12 '18 at 13:17
C-x
? Something aboutuu
? – Drew Oct 11 '18 at 13:52C-x
bound to, for you. Normally it's a prefix key. Are you thinking ofM-x
, perhaps? – Drew Oct 11 '18 at 19:53