Skip to content

Instantly share code, notes, and snippets.

@nickjacob
Created October 22, 2012 23:40
Show Gist options
  • Save nickjacob/3935569 to your computer and use it in GitHub Desktop.
Save nickjacob/3935569 to your computer and use it in GitHub Desktop.
vim regexp to convert 1.9 hash syntax to 1.8
:%s/\s\([_a-z]*\):\s/:\1 => /gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment