0

I see that for GUI Emacs, we should use ucsc-insert (C-x 8 RET), but this is totally different than under xorg, where we use Control-Shift-u.

Do we have a method that would work in both?

The reason I'm asking is because I have a Moonlander keyboard and I have some keys bound to xorg keyboard combinations for inputing unicode characters which I use often. If there is no such way to have a unified way of outputing them from the keyboard, it means I would have to have two different keys for each unicode character I wish to have bound to a key.

4
  • What do you mean by "a method that would work in both"? Are you looking for how to set a key binding so the same key binding is used for each?
    – Drew
    Commented May 26, 2022 at 23:01
  • @Drew yes, I have a Moonlander keyboard, so I have some unicode characters bound to keys which I use often;) Commented May 27, 2022 at 7:47
  • Please update the question itself, to make this clear. Thx.
    – Drew
    Commented May 27, 2022 at 14:05
  • I have updated the question. Would it be possible to define this, like (define-key global-map (kbd "C-S-u") 'insert-unicode-like-in-xorg) Commented May 29, 2022 at 21:13

1 Answer 1

1

You can just type unicode characters directly. C-x 8 RET is there to allow a human to search for the character that they want (notice that it supports autocomplete on character names as well as accepting code point numbers). Similarly, IME features like control-shift-u for entering a unicode code point are also intended as user–facing features (even though it’s pretty poor.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.