Direct Unicode Input #7223
-
Is there a way to insert Unicode directly in Kitty without opening this window? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 15 replies
-
Use your systems IME facilities for inputting unicode if you dont want
to use kitty's
|
Beta Was this translation helpful? Give feedback.
-
Expanding on the maintainer's suggestion... If that's MacOS, here's a relevant discussion thread: https://discussions.apple.com/thread/1899290 If you're on Ubuntu or a derivative, try If neither, tell us more about your system and we might be able to help. Or consider searching something like "enter unicode character in <your OS/distro/DE/WM>". |
Beta Was this translation helpful? Give feedback.
-
Use IBus' Emoji Input. https://wiki.archlinux.org/title/IBus#Emoji_input It will provide an interface for inputting unicode symbols using the symbol's names and aliases for any program. In your
Then with the default key map press super+. to start the input method, type a name like |
Beta Was this translation helpful? Give feedback.
-
On Tue, Mar 26, 2024 at 07:55:44PM -0700, Sheikh wrote:
Kitty _can_ get out of the way and _allow_ users to use the system's unicode input facility. If Kitty would actually do "nothing" when `Ctrl + Shift + u` is pressed, then that would likely solve the problem.
If you specify a system level shortcut for ctrl+shift+u it will never
even reach kitty. And regardless you can unmap or even discard any
shortcut in kitty as 2 mins reading the manual will tell you.
https://sw.kovidgoyal.net/kitty/conf/#keyboard-shortcuts
|
Beta Was this translation helpful? Give feedback.
-
On Tue, Mar 26, 2024 at 08:03:50PM -0700, Sheikh wrote:
You may have missed the OP's 2nd response where they mentioned trying both unmapping and discarding the shortcut to no avail.
Just tried it myself and can confirm that neither work.
kitty -o 'map ctrl+shift+u discard_event' cat -v
Press ctrl+shift+u observe nothing happens.
|
Beta Was this translation helpful? Give feedback.
-
On Tue, Mar 26, 2024 at 08:11:21PM -0700, Sheikh wrote:
Yes. An underlined `u` should appear like it does on Gnome Terminal.
Where would this underlined u magically appear from? kitty is not GNOME
terminal. It has a different technique for entering unicode characters,
that is far superior to GNOME terminals, since it allows you to search
unicode characters by typing a few letters from their names OR using hex codes.
Underlined you only supports hex codes.
If you want to use some system level technique for doing this then use
an IME or XCompose or similar. If you do, then the ctrl+shift+u or whatever trigger
key your IME uses event wont even reach kitty to become a shortcut.
|
Beta Was this translation helpful? Give feedback.
Use IBus' Emoji Input.
https://wiki.archlinux.org/title/IBus#Emoji_input
It will provide an interface for inputting unicode symbols using the symbol's names and aliases for any program.
In your
kitty.conf
set theGLFW_IM_MODULE
environment variable toibus
.Then with the default key map press super+. to start the input method, type a name like
cat
and press space to get more results.