mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Quickly Type En Dashes And Em Dashes as a Mac til
This commit is contained in:
22
mac/quickly-type-en-dashes-and-em-dashes.md
Normal file
22
mac/quickly-type-en-dashes-and-em-dashes.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Quickly Type En Dashes And Em Dashes
|
||||
|
||||
To type a hyphen, you hit the key right next to the zero: `-`. But what about
|
||||
if you need the similar looking en dash and em dash?
|
||||
|
||||
Some programs have text areas that will automatically convert two consecutive
|
||||
dashes into an em dash.
|
||||
|
||||
There is a more reliable method that can get you both: these two keybindings
|
||||
which are a variation of the `-` key itself.
|
||||
|
||||
* `Option -` will produce an en dash (–), named that because it is typically
|
||||
the width of the n character.
|
||||
|
||||
* `Option Shift -` will produce an em dash (—), named that because it is
|
||||
typically the width of the m character.
|
||||
|
||||
The en dash seems to be the less familiar of the two. For more details on when
|
||||
to use that, [check out this excerpt from Dreyer's
|
||||
English](https://twitter.com/jbrancha/status/1344345683294380035).
|
||||
|
||||
h/t [Shawn Wang (@swyx)](https://twitter.com/swyx/status/1344127570753646593?s=20)
|
||||
Reference in New Issue
Block a user