logoalt Hacker News

dathinabtoday at 4:04 PM2 repliesview on HN

never understood why -- => em-dash auto completion is only a think in some subset of application instead of being a standard behavior for (display) text inputs


Replies

tavavextoday at 8:43 PM

Adding it to all text-editing environments could be problematic due to the decrement operator --

Many keyboard layouts for other languages use the right Alt (AltGr) key for less common symbols. Something like AltGr+(-) could work for the em dash.

sionisrecurtoday at 4:27 PM

Personally, I configure my keyboard map to write the em–dash with alt+- and the middle dot · with alt+.