Hi jcordes!

On Sa, 02 Feb 2013, jcordes wrote:

> On Friday, 1 February 2013 23:46:03 UTC-4, Tim Chase  wrote:
> > You could do something like
> >   :g/^\</'{+,'}-j
> > 
> > (assuming you have at least one blank line at the end of the file;
> > otherwise, you'd have to manually join the last line to the last
> > paragraph). 
> 
>  Tim,
> 
>  Thanks very much for posting this. Your explanation (in a later post) makes 
> a lot of sense, but for some reason I keep coming up with an 'invalid range' 
> error when I use 
> :g/^\</'{+,'}-j
>  This is in a short text file with some blank (empty) lines between 
> paragraphs, on linux; line endings are just LF.
> 
>  VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 24 2012 23:53:05)
>  Huge version without GUI.
> 
>  Can you suggest anything I might be doing wrong?

Are you possibly missing a trailing empty line?

Mit freundlichen Grüßen
Christian
-- 
Man begeht entweder Fehler des Stolzes oder des Kriechens, wenn man
nicht die Anerkennung des eignen Werts voraussetzt.
                -- Jean Paul (eig. Johann Paul Friedrich Richter)

-- 
-- 
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 vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to