I love the auto-indenting feature in Vim. It saves a ton of time when 
coding. However, there are two behaviors that I do not like.

   1. The auto-indent clears when I move the cursor after creating an
      auto-indented line (I solved this).
   2. The auto-indent clears when I press enter to create a new line.

I was able to change the first behavior by adding set cpo+=I. However, I 
am unable to find a way to disable the second behavior, and it kills my 
efficiency as I constantly have to go in and manually insert tabs.

Does anyone know a way to prevent Vim from clearing the auto-indent 
without having to put in a junk character and remove it before pressing 
enter?

-- 
Chris Jean
http://gaarai.com/
http://wp-roadmap.com/
http://dnsyogi.com/


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

Reply via email to