mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 00:58:02 +00:00
Add Quickly Type En Dashes And Em Dashes as a Mac til
This commit is contained in:
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
|
|||||||
|
|
||||||
For a steady stream of TILs, [sign up for my newsletter](https://tinyletter.com/jbranchaud).
|
For a steady stream of TILs, [sign up for my newsletter](https://tinyletter.com/jbranchaud).
|
||||||
|
|
||||||
_988 TILs and counting..._
|
_989 TILs and counting..._
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -412,6 +412,7 @@ _988 TILs and counting..._
|
|||||||
- [Gesture For Viewing All Windows Of Current App](mac/gesture-for-viewing-all-windows-of-current-app.md)
|
- [Gesture For Viewing All Windows Of Current App](mac/gesture-for-viewing-all-windows-of-current-app.md)
|
||||||
- [Insert A Non-Breaking Space Character](mac/insert-a-non-breaking-space-character.md)
|
- [Insert A Non-Breaking Space Character](mac/insert-a-non-breaking-space-character.md)
|
||||||
- [List All The Say Voices](mac/list-all-the-say-voices.md)
|
- [List All The Say Voices](mac/list-all-the-say-voices.md)
|
||||||
|
- [Quickly Type En Dashes And Em Dashes](mac/quickly-type-en-dashes-and-em-dashes.md)
|
||||||
- [Require Additional JS Libraries In Postman](mac/require-additional-js-libraries-in-postman.md)
|
- [Require Additional JS Libraries In Postman](mac/require-additional-js-libraries-in-postman.md)
|
||||||
- [Resize App Windows With AppleScript](mac/resize-app-windows-with-applescript.md)
|
- [Resize App Windows With AppleScript](mac/resize-app-windows-with-applescript.md)
|
||||||
- [Resizing Both Corners Of A Window](mac/resizing-both-corners-of-a-window.md)
|
- [Resizing Both Corners Of A Window](mac/resizing-both-corners-of-a-window.md)
|
||||||
|
|||||||
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