Sunday, October 26, 2014

Re: how to join all lines in a paragraph?

On Sun, Oct 26, 2014 at 11:35:35AM -0400, Jose Caballero wrote:
>Hi,
>
>I have been trying to find in google how to join all lines in a given
>paragraph, or a range to lines.
>I only found this
>
>:set tw=1000000
>gggqJ
>
>or similar recipes.
>But that joins all lines in the file.I would be interested only in a
>portion of the file. How should I modify that recipe for that?

You could use visual mode: vipJ

>
>Thanks a lot in advance.
>Cheers,
>Jose
>
>--
>--
>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+unsubscribe@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: