convert to 1.9 hash syntax
I am trying to get used to the new Ruby 1.9 hash syntax (read more). Here’s a quick VIM replace command to convert all the 1.8 syntax to the new 1.9 syntax.
I am quickly becoming a fan of this new style simply because it’s less characters to type and it looks more like JSON.
A similiar regex could be used in conjunction with sed to convert a whole project in one go.