Skip to content

Commit b996320

Browse files
committed
Add Quickly Type En Dashes And Em Dashes as a Mac til
1 parent df3945e commit b996320

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
1010

1111
For a steady stream of TILs, [sign up for my newsletter](https://tinyletter.com/jbranchaud).
1212

13-
_988 TILs and counting..._
13+
_989 TILs and counting..._
1414

1515
---
1616

@@ -412,6 +412,7 @@ _988 TILs and counting..._
412412
- [Gesture For Viewing All Windows Of Current App](mac/gesture-for-viewing-all-windows-of-current-app.md)
413413
- [Insert A Non-Breaking Space Character](mac/insert-a-non-breaking-space-character.md)
414414
- [List All The Say Voices](mac/list-all-the-say-voices.md)
415+
- [Quickly Type En Dashes And Em Dashes](mac/quickly-type-en-dashes-and-em-dashes.md)
415416
- [Require Additional JS Libraries In Postman](mac/require-additional-js-libraries-in-postman.md)
416417
- [Resize App Windows With AppleScript](mac/resize-app-windows-with-applescript.md)
417418
- [Resizing Both Corners Of A Window](mac/resizing-both-corners-of-a-window.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Quickly Type En Dashes And Em Dashes
2+
3+
To type a hyphen, you hit the key right next to the zero: `-`. But what about
4+
if you need the similar looking en dash and em dash?
5+
6+
Some programs have text areas that will automatically convert two consecutive
7+
dashes into an em dash.
8+
9+
There is a more reliable method that can get you both: these two keybindings
10+
which are a variation of the `-` key itself.
11+
12+
* `Option -` will produce an en dash (–), named that because it is typically
13+
the width of the n character.
14+
15+
* `Option Shift -` will produce an em dash (—), named that because it is
16+
typically the width of the m character.
17+
18+
The en dash seems to be the less familiar of the two. For more details on when
19+
to use that, [check out this excerpt from Dreyer's
20+
English](https://twitter.com/jbrancha/status/1344345683294380035).
21+
22+
h/t [Shawn Wang (@swyx)](https://twitter.com/swyx/status/1344127570753646593?s=20)

0 commit comments

Comments
 (0)