Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



> 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-...


Mac since 1995 or so, pretty seasoned.

But I also have windows keyboards plugged in. Hard enough getting the ones I like around here without also constraining them to Apple's preferred symbols printed on the keys.


It says “alt” on it


Not on my MacBook Pro.


Seasoned Mac users have ones that do ;)


Option-minus gives the en-dash; option-shift-minus gives the em-dash.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: