mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-11-14 15:47:16 +00:00
⬆️ Add AutomaticPeriodSubstitution command
This commit is contained in:
parent
6e3123bc09
commit
31671b90c0
1 changed files with 49 additions and 0 deletions
49
docs/keyboard/applekeyboardaddperiodwithdoublespace.md
Normal file
49
docs/keyboard/applekeyboardaddperiodwithdoublespace.md
Normal file
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue