On Sat, 2 Feb 2013 10:27:27 -0800 (PST), jcordes wrote:
> On Friday, 1 February 2013 23:46:03 UTC-4, Tim Chase  wrote:
> > You could do something like
> >   :g/^\</'{+,'}-j
> 
>  Thanks very much for posting this. Your explanation (in a later
> post) makes a lot of sense,

Sorry if it was just a tad prolix. :-)

> but for some reason I keep coming up
> with an 'invalid range' error when I use :g/^\</'{+,'}-j 


The only way I was able to trigger this was if either:

1) your relative-range happens to be swapped (such that the 2nd line
comes before the first line), or

2) if your file only has one line in it.

I might be able to better determine what's going on if you can
produce a sample file against which I could test.

-tim


-- 
-- 
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/groups/opt_out.


Reply via email to