diff --git a/examples/macform.yaml b/examples/macform.yaml index 2ef51d4..cc27ec3 100644 --- a/examples/macform.yaml +++ b/examples/macform.yaml @@ -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 diff --git a/internal/registry/keyboard.go b/internal/registry/keyboard.go index 15b5807..108eaf9 100644 --- a/internal/registry/keyboard.go +++ b/internal/registry/keyboard.go @@ -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"), + }, }