logoalt Hacker News

ben_wyesterday at 11:45 PM1 replyview on HN

> Where's the emdash key on your keyboard?

> There isn't one?

Mac, alt-minus. Did by accident once, causing confusion because Xcode uses monospace font where -, – and — look identical, and an m-dash where a minus should be gets a compiler error.

iOS, long-press on the "-" key.


Replies

alwillistoday at 3:08 AM

> Mac, alt-minus.

I've been using Macs for decades; it's called the Option key; no seasoned Mac user calls it "Alt".

I know when a PC-style keyboard is attached to a Mac, the Alt key functions as the Option key. [1]

- Option-minus creates an en dash

- Option-Shift-minus creates an em dash

[1]: https://support.apple.com/guide/mac-help/intro-to-mac-keyboa...

[2]: https://www.merriam-webster.com/grammar/em-dash-en-dash-how-...

show 1 reply