How to format your source code files using vim? 02/03/2008 arekm … in a batch mode: find . -name '*.somepattern' -exec vim -c 'norm gg=GZZ' "{}" ";"