Skip to content

Instantly share code, notes, and snippets.

@zealot128
Last active June 19, 2018 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zealot128/005e497e4468ae55c60e9540ab7bf24f to your computer and use it in GitHub Desktop.
Save zealot128/005e497e4468ae55c60e9540ab7bf24f to your computer and use it in GitHub Desktop.
VIM replace ruby 1.9 Hash literals to 2+
command! ReplaceRuby19Hash :%s/:\([a-z_]\+\) *=> */\1: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment