lucashungaro / codeformatting-tmbundle

A custom TextMate bundle with code formatting commands and macros

lucashungaro (author)
Sun Apr 12 14:59:18 -0700 2009
commit  a9cf17ff7feaadacf5044e2524602f1388e871fe
tree    06f60134c2911cfcf0cbfee38a8fc9ce50a1590c
codeformatting-tmbundle / README.markdown
100644 15 lines (10 sloc) 0.621 kb

Code Formatting TextMate Bundle

This is a simple TextMate bundle that strips out trailing whitespaces and replaces tabs with spaces whenever a file is saved. Based on work done by Viget Labs developers.

Installation:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/lucashungaro/codeformatting-tmbundle.git Code\ Formatting.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'