Created
December 1, 2014 09:52
-
-
Save kunev/92409ca524f29c49b0ba to your computer and use it in GitHub Desktop.
swap " and '
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
'<,'>s/\v("|')/\={'"': "'", "'": '"'}[submatch(0)]/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment