-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ctrl+Shift+u unicode input on Linux #2163
Comments
An alternative that already works is to use the compose key. eg |
CTRL-SHIFT-U is a new default key assignment for this new modal. It opens up a fuzzy searchable browser that defaults to showing emoji/emoticons. The category can by cycled through the suggested emoji categories using CTRL-r. Unlike the system emoji palette, wezterm includes a category for nerdfont symbols, and another that is a list of all unicode codepoint names, so you should be able to browse for pretty much any codepoint you can think of. The modal also allows fuzzy searching based on: * The official unicode name * The github shortcode * codepoint value in hex so if you know the codepoint value but not the name, you can still find a way to input what you're looking for. Pressing Enter will copy the selected item to the clipboard send it to the active pane, and cancel the modal. You can therefore repeat the insert by simply pasting. I plan to add frecency to this in a later commit: that way the frequently/recently used selections will show in a category of their own and make it easier to re-input them. refs: #2163
Blurb from the commit message: CTRL-SHIFT-U is a new default key assignment for this new modal. The modal also allows fuzzy searching based on:
so if you know the codepoint value but not the name, you can Pressing Enter will copy the selected item to the clipboard I plan to add frecency to this in a later commit: that way the It typically takes about an hour before commits are available as nightly builds for all platforms. Linux builds are the fastest to build and are often available within about 20 minutes. Windows and macOS builds take a bit longer. Please take a few moments to try out the fix and let me know how that works out. You can find the nightly downloads for your system in the wezterm installation docs. If you prefer to use packages provided by your distribution or package manager of choice and don't want to replace that with a nightly download, keep in mind that you can download portable packages (eg: a If you are eager and can build from source then you may be able to try this out more quickly. |
Can you add an option to send it to the active pane without copying it to clipboard? |
The default behavior for charselect is to show the recent category if you have previously used it, otherwise, show the default emotion category. refs: #2163
Oh wow sorry for late response. This is way more than enough, thanks for the effort 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Is your feature request related to a problem? Please describe.
Afaik Linux does not support alt codes, but we can have nice things with Ctrl-Shift-u unicode input method. This seems not supported.
Describe the solution you'd like
Most other GUI apps / some terminal emulators supports it. It might be nice to have on wezterm.
Describe alternatives you've considered
Copy-paste 😬
Additional context
nil
The text was updated successfully, but these errors were encountered: