This is a Textmate/Sublime Text bundle for Ace templates.
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone https://github.com/yosssi/ace-tmbundle.git Ace.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
cd ~/Library/Application\ Support/TextMate/Managed/Bundles/
git clone https://github.com/yosssi/ace-tmbundle.git Ace.tmbundle
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/yosssi/ace-tmbundle.git Ace
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
git clone https://github.com/yosssi/ace-tmbundle.git Ace