Hacker News new | ask | show | jobs
by lloeki 849 days ago
Heh, I kinda don't like these typing replacements (also, "smart" quotes).

If I type `--` it's because I want `--` (or even `-------` but some software† insists on changing that to a sequence of en-dash), especially I can type them easily on macOS:

- minus key: minus char -

- Option+minus: en dash –

- Option+Shift+minus: em dash —

Similarly, opening and closing single and double quotes are on bracket keys.

† yes there are OS-level settings for that (at least on macOS) but other software do it in addition to the SO, and you can't disable it plus it plays badly with undo.

1 comments

Indeed “smart” quotes are a nuisance and it’s a small tragedy that curved quotes go typically unused. I gave myself a dedicated `“` key to make it the default in everyday use.

         “ → “
   Shift+“ → ”
  Option+“ → "