dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Disable autocomplete when pressing ESC

Open dserodio opened this issue 7 years ago • 2 comments

Credit: http://apple.stackexchange.com/a/261065/7067

dserodio avatar Dec 16 '16 18:12 dserodio

It doesn’t seem this is necessary, given the previous command that disables autocomplete everywhere. Can you confirm this?

mathiasbynens avatar Dec 22 '16 08:12 mathiasbynens

For me (El Capitan, 10.11.6) the previous command is not enough to disable the annoying "autocomplete when pressing ESC".

Steps to reproduce:

Test 1: Only disable NSAutomaticSpellingCorrectionEnabled:

$ defaults read NSGlobalDomain NSAutomaticSpellingCorrectionEnabled 0 $ defaults delete -g NSUseSpellCheckerForCompletions $ open -a TextEdit

Press a Press ESC

Result: Annoying autocomplete dropdown opens. Quit TextEdit

Test 2: Also disable NSAutomaticSpellingCorrectionEnabled:

$ defaults read NSGlobalDomain NSAutomaticSpellingCorrectionEnabled 0 $ defaults write -g NSUseSpellCheckerForCompletions -boolean false $ open -a TextEdit

Press a Press ESC

Result: No annoying autocomplete dropdown

dserodio avatar Dec 23 '16 16:12 dserodio