-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On July 3, 2003 12:28 pm, Aaron J. Seigo wrote: > :set cindent > > (you can also do autoindent, but i find cindent to be better... the > indenting system is configurable via text files, but i find the defaults > work just fine) > > to indent a line that was poorly indented, simply type == in command mode. > to do the next 45 lines do: 45 == > > voila.
Sounded like a cool idea, so I pulled up a little shell script I wrote this morning with a for loop in it, but all it did was left-justify everything. Grrrrr. Thank heavens for :q! :-) So, is there some other magic to make this work with a shell script? It did work fine on a Perl script I intentionally messed up just to see it work, though. :-) Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/BIcVSiY+RXI7JS4RArCdAJ0aeXvDYaSZoytXJ/2sVhjVszN8mQCgvdXm ifBaOvu5W+wsxzM05E2dDvI= =Kuqr -----END PGP SIGNATURE-----
