Hacker News new | ask | show | jobs
by kzhe 271 days ago
Espanso can be set up to make it easier, along with Powertoys on Windows and alt+shift+dash on the mac keyboard layout
1 comments

As a Linux user... I should be embarrassed to not have set up a keybind for this. Not sure why I didn't think of it before!
Hello, felloe Linux user!

That being said, fyi, most Linux distros (or at least many!) have by default the shortcut `ctrl+shift+U` then the hex value of the Unicode character.

So, for example, the en dash is U+2013 and the em dash is U+2014, so you would press `ctrl+shift+U` then type in "2014" then space and it inputs it!

I use it all the time! It's very useful!