Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Add AutomaticPeriodSubstitution command #375

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions docs/keyboard/applekeyboardaddperiodwithdoublespace.md
Original file line number Diff line number Diff line change
@@ -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.

<!-- break lists -->

- **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
```