Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Why `set cpoptions+=J`? #1
I'm a two-spacer. I learned that way and have been doing it my whole life.
Lately there's been a resurgence of people saying stuff like "we don't use typewriters any more, you shouldn't use two spaces, you caveman!" That dumb Slate article that came out a while ago probably had something to do with this movement.
Here's the thing: people didn't two-space with typewriters just because they were using a typewriter. They two-spaced with typewriters because typewriters used a monospaced font.
What else uses monospaced fonts?
When I'm looking at sentences in a monospaced font (as I am right now while writing this in Vim) having two spaces between them makes them much easier to read. At least, it looks better to my eyes, and this is how the whole trend got started, so I think most people will agree on that.
It also has the added benefit of letting me use
I'm not personally convinced that one space actually does look better with a non-monospaced font, but a bunch of people say it does, so what happens when the stuff I write is rendered and viewed with a variable width font? When this comment actually gets published on GitHub it will be as HTML, which doesn't render the extra space. The same goes for all my blog posts and documentation.
I'm not sure about email clients, but I think most of them will display emails either in monospaced plaintext (where two spaces looks good) or as HTML (which collapses the spaces). There may be some that display two spaces in a non-monospaced font, but I'm willing to live with that.
So in a nutshell:
I'll be a two-spacer for the forseeable future.