Re: [SLUG] how to make vim DTRT

From: Paul M Foster (
Date: Thu Mar 13 2008 - 15:21:23 EST

On Mon, Mar 17, 2008 at 04:41:49PM -0500, Eben King wrote:

> Something -- I think Google Groups -- is replacing the second space after a
> sentence as well as the final space in a time (between H:MM and [ap]m) with
> 0xa0 = 0240 which is presumably a non-breakable space in some encoding.
> I'd
> like to replace these with everyday spaces. I've got a "tr" command that
> does it ("| tr '\240' ' '") but what I don't know is how to make vim pipe
> the whole document through that, and replace all text with what comes out.
> :%something|tr '\240' ' '
> is as far as I've got. Anyone?

BTW, Eben, your system clock is *waaay* off. Note the date above: 17
March. I couldn't figure out why your thread was sorting at the bottom
of my mailreader. That was why.


Paul M. Foster
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.

This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:24:19 EDT