Wednesday, April 6, 2011

Auto indent in vim

1. + g to see how many lines in the file (if you don't have line numbers turned on)
2. n== (where n is the number of lines from step 1)
3. you're beautified!

No comments:

Post a Comment