From 7488db178db798b338277fb0ddbf3951d018a414 Mon Sep 17 00:00:00 2001 From: Bo Jeanes Date: Mon, 29 Jul 2024 14:09:59 +1000 Subject: [PATCH] Configure text substitutions in macOS Mostly disabling hehe --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 2b196d5..7269e6f 100644 --- a/flake.nix +++ b/flake.nix @@ -205,6 +205,13 @@ NSGlobalDomain.InitialKeyRepeat = 15; NSGlobalDomain.KeyRepeat = 5; + # Disable certain text substitutions + NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false; # smart quotes + NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false; # period after double-space + NSGlobalDomain.NSAutomaticCapitalizationEnabled = false; + NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = false; + NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = true; + # use expanded save panel by default NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true; NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true;