On July 3, 2003 12:05 pm, Jason Louie wrote: > Hello all, first I would like to thank Rob on his presentation on > Emacs. It was informative. Now my question is directed to the vi users > out there. Emacs has a feature to auto indent a file / line / section > automatcially based on the syntax. Is there a similar feature in vim? > I've googled for a solution but haven't found anything similar to what > I'm looking for. Does anyone know if it exists and where to get it? > Sorry Rob but vi is my friend and the only text editor I use.... ;-) > > Jason
Hit == (equals twice). You can do this for an entire block too (i.e. hit v, select block, == to fix indentation). Later, ~Scott
