How to format your source code files using vim?
… in a batch mode:
find . -name '*.somepattern' -exec vim -c 'norm gg=GZZ' "{}" ";"
0 Comments
search site archives
… in a batch mode:
find . -name '*.somepattern' -exec vim -c 'norm gg=GZZ' "{}" ";"