Additional info to question I asked earlier:

  > While editing an html file, when I hit return, the lines gets
  > reformatted automatically.  
  > 
  >   1) Why is this happening  
  > 
  >   2) how do I prevent it?  
  > 
  >   3) what are all the things I can tweak so that the 
  >      automated reformatting happens the way I like it?

  A) Command  ":verbose set fo?" returns formatoptions=tcq

  B) Here's an illustration of the problem:  Suppose the file 
     has the line (the '|' represents the left boundary)

       |     <b>The first part  </b>The second part.

     Result of putting the cursor before the p in part and 
     hitting return ('|' represents the left boundary):

       |<b>The first 
       | part  </b>The second part.

     Result of putting the cursor before the s in second and 
     hitting return ('|' represents the left boundary):

       |<b>The first part  </b>The 
       |second part.

  --Suresh



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to