Loading ...
Sorry, an error occurred while loading the content.

Re: Quick rejoining of all lines in a paragraph for all paragraphs

Expand Messages
  • A. J. Mechelynck
    Ben K. wrote: [...] ... :set tw=0 wm=0 means no reformatting ( the feature is disabled , as the Vim help says). :set tw=99999 means any paragraph (shorter
    Message 1 of 18 , Feb 26, 2006
    • 0 Attachment
      Ben K. wrote:
      [...]
      > Oh well, I guess then it's a matter of preference, or whatever works for
      > the task at hand. Either do %s/\n/ /g, or set tw=99999 comments= and do
      > gqG. But I wonder why the default of tw=0 isn't honored...
      >
      > Regards,
      >
      > Ben K.
      > Developer
      > http://benix.tamu.edu
      >
      >
      >

      ":set tw=0 wm=0" means no reformatting ("the feature is disabled", as
      the Vim help says). ":set tw=99999" means any paragraph (shorter than
      100,000 characters) will be reformatted to a single line. It's not the same.

      See
      :help 'textwidth'
      :help ins-textwidth


      Best regards,
      Tony.
    Your message has been successfully submitted and would be delivered to recipients shortly.