Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions examples/macform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ keyboard:
# Default: true
auto-correct: true

# Description: Enable press-and-hold for keys to show accented character options
# Type: bool
# Default: true
press-and-hold: true

hot-corners:
# Description: Action triggered when the cursor reaches the top-left corner of the screen
# Type: string
Expand Down
5 changes: 5 additions & 0 deletions internal/registry/keyboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ var keyboardSettings = []SettingDef{
Type: "bool",
Provider: provider.NewDefaults("NSGlobalDomain", "NSAutomaticSpellingCorrectionEnabled", "bool"),
},
{
SpecKey: "press-and-hold",
Type: "bool",
Provider: provider.NewDefaults("NSGlobalDomain", "ApplePressAndHoldEnabled", "bool"),
},
}