Hi. I have just started using gvim (vi) to edit my C code. I found out how to turn on the syntax coloring for a .c code under the pull-down menu's but how do I set it up to automatically indent for 'int declarations' 'for loops' ,etc. I mean like the auto-indent that emacs uses so I don't have to always indent my code manually.
thanks
