Gets rid of double quotes in block of array initialization. Useful for shell scripts, where interpreters expand double-quoted strings.
Last active
August 29, 2015 14:00
-
-
Save guyhughes/ba7894fdff922fdc306b to your computer and use it in GitHub Desktop.
Vim regex substitue double quotes for literals in array initalization.
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
:'<,'>s:\v(.*)(\[)(\")(.*)(\")(\])(.*):\1\2\'\4\'\6\7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment