Archive for March, 2008

How to format your source code files using vim?

… in a batch mode:

find . -name '*.somepattern' -exec vim -c 'norm gg=GZZ' "{}" ";"

Comments