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

135001Re: Autowrapping in Txt files

Expand Messages
  • Ben Fritz
    Dec 12, 2012
    • 0 Attachment
      On Wednesday, December 12, 2012 10:07:05 AM UTC-6, Gary Johnson wrote:
      >
      > In the second case, the 'tw' option controls when Vim will insert a
      >
      > newline (the end-of-line sequence used internally) as text is typed
      >
      > or reformatted using the gq command. Vim does not automatically
      >
      > reflow or reformat text when you open a file, nor does it
      >
      > automatically reflow or reformat text when you change an option
      >
      > such as 'tw'. If you want some lines of text to be limited to a
      >
      > width of 'tw' or less, you need to reformat them with the gq
      >
      > command.
      >

      But it can reformat as you type. See :help 'formatoptions'.

      --
      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
    • Show all 3 messages in this topic