Created
March 23, 2012 10:26
-
-
Save michel/2169353 to your computer and use it in GitHub Desktop.
Quick vim regex to convert hashrocket (=>) 1.8 to colon syntax (:) 1.9:
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
nmap <leader>rh :%s/\v:(\w+) \=\>/\1:/g<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment