Look up the = command which can be used just like any other normal mode command, i.e., =3j indents the current line and the next 3, etc.
Ephraim On Wed, 5 Jan 2005, Erez Doron wrote: > hi > > > the only way i'm fimiliar of indenting in vim is when i t indents line > by line when i type it. > i'm looking for a way to select a block in a c file and indent it all at > once > > anyone ? > > thanks, > erez. > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]