Created
July 12, 2012 22:30
-
-
Save harley/3101503 to your computer and use it in GitHub Desktop.
vim shortcut to convert ruby ruby 1.8 hashrocket to 1.9 colon syntax
This file contains 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
nmap _hr :%s/\v:(\w+) \=\>/\1:/g<cr> | |
nmap _h :s/\v:(\w+) \=\>/\1:/g<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment