From 31671b90c0ded2bb8e9bcf59914cab72246859cd Mon Sep 17 00:00:00 2001 From: Alexander Momchilov Date: Sat, 27 Jul 2024 19:43:50 -0400 Subject: [PATCH] :arrow_up: Add AutomaticPeriodSubstitution command --- .../applekeyboardaddperiodwithdoublespace.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/keyboard/applekeyboardaddperiodwithdoublespace.md diff --git a/docs/keyboard/applekeyboardaddperiodwithdoublespace.md b/docs/keyboard/applekeyboardaddperiodwithdoublespace.md new file mode 100644 index 00000000..e42a5434 --- /dev/null +++ b/docs/keyboard/applekeyboardaddperiodwithdoublespace.md @@ -0,0 +1,49 @@ +--- +title: Add period with double-space | Keyboard +description: Allows you to type a period by pressing space twice. +head: + - - meta + - property: 'og:title' + content: macOS defaults > Keyboard > Add period with double-space + - - meta + - property: 'og:description' + content: Allows you to type a period by pressing space twice. +--- + +# Add period with double-space + +Allows you to type a period by pressing space twice. + + + +- **Tested on macOS**: + - Sonoma +- **Parameter type**: bool + +## Set to `true` (default value) + +When on, pressing space twice will insert a period and a space. + +```bash +defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool true +``` + +## Set to `false` + +When off, pressing space twice will insert two spaces. + +```bash +defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false +``` + +## Read current value + +```bash +defaults read NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled +``` + +## Reset to default value + +```bash +defaults delete NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled +```