4 ms·
How do you then type these characters? google, copy, paste? Or is there a better workflow?
by TobTobXX 4y ago
How do you then type these characters? google, copy, paste? Or is there a better workflow?
- db48x 4y agoTwo ways: keyboard layout and editor support. Your OS keyboard layout, at least on Linux, can be customized to include any characters you type frequently. I haven’t gone very deep down this rabbit–hole, but I have turned on some options that make nice quotation marks (“‘«»’”), em–dashes (“–”), ellipses (“…”) and a number of other characters (“²³½⅓¼≠±÷∞×” and so on) readily available with a compose key. I also put arrows on the numberpad, of course (“↙↓↘←↔→↖↑↗⇙⇓⇘⇐⇔⇒⇖⇑⇗”). Very useful for talking about menu items, like File → Save As (it has actually startled people when I can type things like that fluently in conversation). My editor of choice is Emacs, which has a built–in way to select characters by name. Typing `C-x 8 <RET>` prompts for a character name, with fuzzy searching and autocompletion. It also recently gained a similar facility for Emoji, which is more focused around the visual appearance. `C-x 8 e e` opens it. `C-x 8 e s` lets you search by name. Between your keyboard layout and your editor’s search capabilities and custom keybindings you can do anything.
- ziotom78 4y agoJulia mode for Emacs, Vim, and VSCode lets you to use LaTeX-like sequences: write \pm, press <TAB>, and you get ± Of course, this only works if your editor supports this and you are using a language similar to Julia. But there are two more general methods that are applicable everywhere. The first was mentioned by db48x: I have customized my Xmodmap file so that greek letters and a few typographic characters I use often can be typed using AltGr combinations. (Unfortunately, this is much more complicated if you use Windows.) Secondly, I heavily use Espanso [1], so that I can easily type complicated letters/sequences (e.g., my email address) for which it would be too overkill to assign an AltGr keybinding. Finally, in Emacs and Kitty (my terminal emulator) there is a keybinding that asks for the name of an Unicode symbol and enters it. (In Emacs it's C-x 8 <Enter>, in Kitty Shift+Ctrl+u.) From the point of view of my workflow, the problem of quickly typing Unicode characters is completely solved. [1] https://espanso.org/ https://espanso.org/
- codethief 4y agoSome years back I wrote myself a small SublimeText extension to to pick & insert my favorite math characters but nowadays I prefer using rofimoji[0] because it is application-independent. [0]: https://github.com/fdw/rofimoji https://github.com/fdw/rofimoji
- deleted 4y ago[deleted]