• Liens & ressources
  • Mes liens
  • Tags
  • RSS
  • Connexion
Filtrer par liens sans tag

Note: Double dasheshttps://superuser.com/questions/555628/how-to-stop-mac-to-convert-typing-double-dash-to-emdash

  • macos
  • dev
  • macos
  • dev

In earlier versions of Mac OS X, there were two separate options for smart quotes and smart dashes in the Keyboard System Preferences; however in at least versions 10.9 through 10.11, that option has been replaced by a single "Use smart quotes and dashes" preference.

Fortunately, there are still two separate preferences under the hood, and the UI checkbox toggles both of them simultaneously. You can enable or disable just one of smart quotes or smart dashes from the terminal:

# Disable just smart dashes
defaults write -g NSAutomaticDashSubstitutionEnabled 0

# Disable just smart quotes
defaults write -g NSAutomaticQuoteSubstitutionEnabled 0

# To re-enable, set either back to 1.

This is currently true as of OS X 10.11; this may change in future versions of OS X (or macOS, as it will now be called).

Permalien
November 9, 2023 at 8:58:33 AM GMT+1
Shaarli 1649 shaares · 1122 liens privés · Shaarli · Le gestionnaire de marque-pages personnel, minimaliste, et sans base de données par la communauté Shaarli · Documentation · Theme : Stack · Font : DINish
Replier Replier tout Déplier Déplier tout Êtes-vous sûr de vouloir supprimer ce lien ? Êtes-vous sûr de vouloir supprimer ce tag ? The personal, minimalist, super-fast, database free, bookmarking service par la communauté Shaarli