On 06.08.18 11:40, David Woodfall wrote: > I've noticed that when I select a block of text (written English > prose, not code) and press gq to reformat it, vim will change some of > the spaces after a period into two spaces, as is the convention among > some typists. > > Is this intended, and can it be changed?
AFAICT it's an Americanism, judging by occurrence. It defeats simplistic automated removal of erroneous double spaces between words. To turn it off, I have: set nojoinspaces " Only one space when joining lines. > Personally, I prefer to keep just one space after a period, but I > notice that it does happen consistently - sometimes it will change > the spaces and sometimes not. Does your cpoptions include 'j'? If so, you'll only get one space after '?' or '!'. It's not a format taught here in Australia, at least not >50 years ago when I was in primary school, and it's not found in the wild here since either. Erik -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
