Created
November 24, 2016 01:06
-
-
Save spalenza/bc28bd50495e0f10d1ced9e95aabeecc to your computer and use it in GitHub Desktop.
Vim command to ruby new hash notation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command! -range=% RubyNewHashNotation silent execute <line1>.','.<line2>.'s/:\(\w\+\)\s*=>\s*/\1: /g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment