I have a keyboard macro set up so typing “—-<space>” yields “—”. I set this up like a decade ago and it’s just habit now.