I learned the habit of typing two spaces after a period when I first learned to type on a typewriter. I’ve decided to break the habit, but it’s been really hard to do on my own. The extra space is ingrained in my muscle memory and I keep typing it, even as I’m writing about stopping.
In order to help me break the habit, I added a rule to my AutoHotkey script.
Here is the code.
; Break the habit of typing two spaces after a period.
MsgBox No extra space!
It removes the period and two spaces and pops up a message box reminding me to stop typing the extra space. This is to give me practice typing one space.
Here is the
frustration process in action.
You could use the following code to get rid of the extra space automatically, but that probably won’t help you break the habit.
; Turn a period followed by two spaces into a period followed by one space
As to why I’m stopping, it’s more efficient and it’s a relic of a bygone era. Even with a typewriter, a single space after a period looked fine. Frankly, I’m not sure why I was taught to type that way.
I’m curious how long it will take to stop seeing that message box after every sentence. :)