Avoid auto-period character after quick type space in Sublime Text 3
I've noticed that in Sublime Text 3, that if I type a word and then double-space quickly after I'm done entering the word in, it automatically places a period after the word
Something like
obj
+ two spacebar
keystrokes
will result in
obj.
I've looked through the preferences and I see all the auto_complete
keys, but even with auto completed disabled, Sublime persists in added that period. How can I disable this behavior in Sublime?
Solution 1:
It's a macOS feature that was added with Sierra
It can be disabled globally via System Preferences -> Keyboard -> Text
and unchecking Add period with double-space
as per the article instructions.
Quite a handy feature for most things but was driving me to distraction trying to edit .md
files!
Solution 2:
In addition, you can also disable this with the Terminal by executing:
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -int 0
If you want to enable it, pass 1
.
Solution 3:
FYI: this option may also be called "Add full stop with double-space"
Still at: System Preferences > Text