#Update Changed key binding so it did not interfere with opening the side panel.
Beautifies Ruby code. This plugin uses the Ruby Script Beautifier written by P.Lotus
I made very little modification to get it to work with a Sublime Text 2 plugin.
ctrl + cmd + k
ctrl + alt + f
A pull request has been issued to Package Control.
Until accepted, usually a day or two, use the manual instructions.
cd "~/Library/Application Support/Sublime Text 2/Packages/" git clone git://github.com/CraigWilliams/BeautifyRuby.git
cd "~/.config/sublime-text-2/Packages/" git clone git://github.com/CraigWilliams/BeautifyRuby.git
Using Package Control, a package manager for Sublime Text 2.
In Sublime Text 2, press "cmd + shift + p" and then type "install" (Mac OSX).
In Sublime Text 2, press "ctrl + shift + p" and then type "install" (Linux).
Once you see "Package Control: Install Package", enter.
When the packages load, another selection window will appear. Type
BeautifyRuby and enter. All done!