upvote
"option shift -" like so —, or if you want an en-dash, just "option -" like –. The funny bit is that I like em-dashes too as they indicate a pause or an interruption in thinking that just looks better than parenthesis, however I sometimes like to use en-dashes as well, which can be a pain since some fonts, especially monospaced ones, render exactly the same, for example in this HN edit box: - – —
reply
— Got it. I can em dash now! — — —
reply
> "option shift -" like so —, or if you want an en-dash, just "option -" like –.

That’s true in the US layout, but on other layouts those can be reversed.

> for example in this HN edit box: - – —

They look the same in the HN edit box because the font is monospaced, but once posted they do look different.

reply
For Windows it's Win+Shift+"-".

I suspect it is more common to see in papers as you can type it with just "--" in LaTeX.

reply
Correction: It is actually "---" in LaTeX and "--" only creates an en-dash.
reply
I, at least, literally made my own keyboard layout some years ago, to be able to type all the characters I want. Got versions both for Linux and Windows (haven't had a need to use Mac yet).

It's basically an extension of US International which can type every letter in all the Latin based alphabets and most of the common punctuations, including hyphens, hyphen-minuses, en-dashes, and em-dashed.

Never found room for all the Greek letters, though.

reply
Install/Enable support for the Compose key. Map it to Menu or some other unused key. Then press Compose and three hyphens in sequence.

I have used emdash, typed this way for many years before LLMs. I had got the habit from mimicking my journalist father's writing style.

The Compose key is useful for many other symbols «×»÷₁²♥⋄•

reply
Phone keyboards usually make it easy. On desktop you can try compose and three hyphens.
reply
Hold down hyphen key
reply
I’m a bépoète™ — it’s that simple!
reply
I'm typing from a phone and it's just a long press on the - button to get — to appear. How about if you're not foreign, how do you get æ to appear. It seems quite special to get € or ¥ to apper if all you've got is $ but why should your inability too do something hold back everyone else?
reply
I was downvoted a few weeks ago for making this exact point. Humans can and do use em-dashes occasionally, but given that you have to go digging for the key combination, you're not using it every 3rd sentence like every AI model does.
reply
> but given that you have to go digging for the key combination

Except you don’t. If you’re on an Apple OS, by default doing -- (two hyphens) auto-substitutes for an em-dash.

Also, the key combination isn’t even hard. Depending on the layout you’re using, it’s either ⌥- or ⌥⇧-. My fingers press that (and the appropriate combination for apostrophes too) without me having to think. Those ⌥ and ⇧ symbols (and many more) I have mapped to text snippets.

We’re using computers, these things are trivial to do and customise, you don’t have to “hunt” for anything.

reply
deleted
reply