another way (and how i would usually do it):

,x g/0\.00/i/\n/


On 22 April 2010 18:32, Rudolf Sykora <rudolf.syk...@gmail.com> wrote:
> Hello,
>
> I have a file in which I wanted to insert an empty line just before
> any line on which a string, say '0.00' is present.
>
> My attempts to do it this way:
> ,x/0.00/+-i/\n/
> or similarly were not succesful.
>
> I am not sure where the problem is exactly. (Only have some feeling
> about it, but couldn't find anything authorative...)
>
> Can somebody help?
>
> Thanks
> Ruda
>
>

Reply via email to